Confusing units display in WaveForm
825 1
example 7 years ago
**BUG** Concise problem statement: There are some cases where the way units are displayed in WaveForm will confuse users. I have put some simulations in the folder: **New WaveForm Test** to try to show examples of how WaveForm presents trace information. To summarise: 1) If the user multiplies or divides a trace by a number or a parameter, then there are no units shown. The units of the scaled trace (V, A, etc.) shown in WaveForm should be the same as for the original unscaled trace. 2) If the user multiplies two or more voltages (or currents), then there are no units shown. The units of the scaled trace shown in WaveForm should be shown as V^2 (or A^2) squared (or V^3, I^3 etc., if necessary). 3) Multiplying a voltage by a current correctly displays power in W. Dividing a voltage by a current or a current by a voltage displays the correct units (i.e. Ohms or Mhos). Can (1) and (2) be made so that the units are correct (i.e. what the user would expect to see)? Examples: https://easyeda.com/editor#id=JB6CUO6oG No Y axis units for probe when multiplied by number. If a trace is multiplied or divided by a number directly or using `let` and then displayed using probe, there are no Y axis units shown. This is not correct. https://easyeda.com/editor#id=TLha4mgyQ Y axis units for probe when multiplied by parameter. If a trace is multiplied by another voltage in the circuit or by a parameter directly or using `let` and then displayed using probe, the Y axis shows units. However, multiplying two voltage together does **not** show as V^2 on the Y axis. This is not correct. https://easyeda.com/editor#id=UB7pjBvN5 No Y axis units for probe when dividing If a trace is divided by a number, a parameter or a voltage either directly or using `let` and then displayed using probe, there are no Y axis units shown. It is to be expected that dividing a voltage by a voltage gives a unitless result but dividing a voltage by a unitless number or parameter should give a voltage result. https://easyeda.com/editor#id=a2WQK2jBv Examples of correct derived units display. These examples display the correct derived units. An offset sinusoid is used to avoid error messages due to divide by zero at the zero crossings. Browser:Mozilla/5.0 (Windows NT 5.1; rv:27.0) Gecko/20100101 Firefox/27.0
Comments
dillon 7 years ago
Hi, This is a well-know bug, because we can't get enough information from ngspice, ngspice mark all of these as notype .
Reply
Login or Register to add a comment
goToTop
你现在访问的是EasyEDA海外版,使用建立访问速度更快的国内版 https://lceda.cn(需要重新注册)
如果需要转移工程请在个人中心 - 工程 - 工程高级设置 - 下载工程,下载后在https://lceda.cn/editor 打开保存即可。
有问题联系QQ 3001956291 不再提醒
svg-battery svg-battery-wifi svg-books svg-more svg-paste svg-pencil svg-plant svg-ruler svg-share svg-user svg-logo-cn svg-double-arrow
We use cookies to offer you a better experience. Detailed information on the use of cookies on this website is provided in our Privacy Policy. By using this site, you consent to the use of our cookies.