You need to use EasyEDA editor to create some projects before publishing
How to configure AC source using expressions ?
1350 10
Tommy 9 years ago
I want to use one AC voltage source to control the output of two AC current sources. Value of the voltage source has to be multiplied with the value of one ammeter for each current source. The manual is very helpfull when looking for the right syntax to be used in expression and I find many examples. Setting parameter "Amplitude" of the current sources to {V(a)*I(Vimon)} or to {V(a)_I(Vimon)} does not work. Ctrl+R starts the simulation but no WaveForm window shows up. What's wrong ???
Comments
dillon 9 years ago
You may need to use BV, if you can try to find more information via https://easyeda.com/Doc/Simulation-eBook/index.htm ![enter image description here][1] [1]: /editor/20151121/565001638ce16.png
Reply
andyfierman 9 years ago
Please see: https://easyeda.com/Doc/Simulation-eBook/Configuring-Voltage-and-Current-Sources.htm#ConfiguringVoltageandCurrentSources https://easyeda.com/Doc/Simulation-eBook/Setting-up-Analyses.htm#SettingupAnalyses and: https://easyeda.com/Doc/Simulation-eBook/Expressions.htm#Expressions :)
Reply
andyfierman 9 years ago
Please also see: https://easyeda.com/Doc/Simulation-eBook/Parameters.htm#Parameters https://easyeda.com/Doc/Simulation-eBook/Functions.htm#Functions https://easyeda.com/Doc/Simulation-eBook/B-sources.htm#Bsourcesspicesimulation
Reply
Tommy 9 years ago
Thanx so far, folks. But: My schematic returns a WaveForm when pressing Ctrl+R. Including this in a text box: tran 0.200ms 0.200s 0.000s uic .param + Faktor=27 + PWatt={Faktor}*{I(vxPROTOR)} + SWatt={Faktor}*{I(vxSROTOR)} + PRegler=0 + SRegler=0 prevents a WaveForm from showing up. None of these parameters being used in any component yet. Just setting them according to the instructions in the manual causes trouble.
Reply
Tommy 9 years ago
The editor of this site altered the regular "*" to a dot.
Reply
dillon 9 years ago
Can't see your schematic, so you may need to try to remove some parts one by one until to dig the problems.
Reply
Tommy 9 years ago
I did remove parts to turn the schematic down to a very simple state. Setting .ic values correctly does not help. I make the schematic public now, so maybe someone can help. The circuit is about comparing the standard generator system of the old BMW airheads to a modified one. I need the diagrams.
Reply
Tommy 9 years ago
@dillon Schemativ is published now.
Reply
Tommy 9 years ago
There is an ammeter named PROTOR. The value of the current it measures is to be multiplied by 27. There is also a volProbe and a resistor to calculate the current. The result of this multiplication is to be used as the parameter Amplitude(A) of a current source. Can anyone tell me how to get this done, please ? Show me the way to do it with a correctly written syntax, please ? By now I suspect the manual to be badly written... Using a function as a parameter of a current/voltage source ??? No way !!! It's getting sort of boring to follow the instructions in the manual in detail without any positive result.
Reply
andyfierman 9 years ago
Tommy, Sorry you're having trouble getting started with your simulation. Let me try to explain some of the reasons that your sim is not working and offer some suggestions as to how to fix it. There are a number of problems in your schematic - which I will try to explain below - but some are because you have not been able to find the correct information on our site. The reason for this is partly because there are some issues in the Table of Contents of the **Simulation eBook** which I am working to resolve but you can download a copy of the whole html document from here: https://drive.google.com/file/d/0BxSnqhiCbZEjRXNfaHl4UXkyejFhRF9GbzBXMWNlLVlGT1Y0/view?usp=sharing Once downloaded, if you just click on the html file, it should open in your browser (or just drag and drop the file into a browser window or tab). * Your B2 Behavioural Source uses an ifx() function which will not work because you have not copied and pasted the function that this calls up from the example in the eBook. This is because this section of the eBook is broken on the EasyEDA website. * The expression you have used in B2: V=ifx(v(vPRotor)https://easyeda.com/Doc/Simulation-eBook/Introduction-to-using-a-simulator.htm#Probingsignals in the Simulation eBook (or the same section in the standalone html version) * Something I would suggest is that, until you are familiar with working with spice and the syntax of the many different statements and function, you work through the examples in the eBook and then apply them, building up to your final simulation a step at a time.
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 -mockplus- -mockplus- -mockplus- -mockplus- -mockplus- -mockplus- -mockplus- -mockplus-@1x -mockplus-

Cookie Notice

Our website uses essential cookies to help us ensure that it is working as expected, and uses optional analytics cookies to offer you a better browsing experience. To find out more, read our Cookie Notice