You need to use EasyEDA editor to create some projects before publishing
Fatal error: DCtrCurv: source / resistor 3 not in circuit
5046 9
cykeltur 9 years ago

I recive the fauts on simulation:
Circuit: schematic
Doing analysis at TEMP = 27.000000 and TNOM = 27.000000
Fatal error: DCtrCurv: source / resistor 3 not in circuit
doAnalyses: no such device
dc simulation(s) aborted
Error: no such function as i.
ngspice-26 done

where do I start? :-)
(YES i have GND ant i think i have Vcc to 25v aad all resistor connected..)

Comments
cykeltur 9 years ago

(SORRY the Vcc is NOT a V sorce.. the battery is..)
but how to you change a switch then testing?

Reply
cykeltur 9 years ago

but i still get:
Fatal error: DCtrCurv: source / resistor 3 not in circuit
doAnalyses: no such device

Reply
example 9 years ago

Hi Cykeltur,

Welcome to EasyEDA.

I suspect you have not spcified the source to use in a DC Sweep correctly but I'd need to see your sim to be sure.

Can you make your circuit - or an example showing the same error - public so we can analyse it?

Thanks.

Reply
andyfierman 9 years ago

I have been able to reproduce your error message based on your public circuit:

https://easyeda.com/cykeltur/two_resistor_for_test-dNGYgasK2

My edited version that reproduces your error message - and a fixed version - are in here:

https://easyeda.com/andyfierman/Cykelturs_error_message-uiO6nhztL

  1. As I suspected, you have set up a DC Sweep in which you are attempting to sweep a resistor (R3) which does not exist in your circuit. That is what causes the:

Fatal error: DCtrCurv: source / resistor 3 not in circuit

part of the message.

  1. Somewhere in your circuit you also have an Ammeter which is why you get the

Error: no such function as i.

part of the message.

  1. If you change the resistor that you wish to sweep from R3 to, for example R2 in the DC Sweep statement then your sim will run error free.

:)

Reply
cykeltur 9 years ago

Andyfierman , do you see it now?

Reply
andyfierman 9 years ago

Sorry Cykeltur,

"Andyfierman , do you see it now?"

I do not understand your question.

On your page:

https://easyeda.com/cykeltur

you have only two public projects.

One is a PCB project.

The other is the schematic I copied yesterday:

https://easyeda.com/cykeltur/two_resistor_for_test-dNGYgasK2

but which does not seem to be exactly the same as the schematic you asked your question about in your first post.

The schematic that I copied yesterday, I then edited to produce a schematic that reproduces the problem you asked about.

I also edited that schematic to fix the error.

Both of those schematics are contained in a public project here:

https://easyeda.com/andyfierman/Cykelturs_error_message-uiO6nhztL

  • I can see no other schematics from you either as Public or Shared privately.
Reply
cykeltur 9 years ago

the other one is a project that i want to simulate but the fault is still there :-(
name: test3 DIP - Schematic
"
Error on line 9 : q1 q1_1 r1_2 volprobe5 bc546
Unable to find definition of model
Error on line 10 : j2 volprobe2 volprobe5 con_terminal_block_02-5mm
Unable to find definition of model - default assumed
Error on line 11 : j1 volprobe1 volprobe5 con_terminal_block_02-5mm
Unable to find definition of model - default assumed
errors/warnings in your design, please fix them if you need

errors/warnings in your design, please fix them if you need.
Doing analysis at TEMP = 27.000000 and TNOM = 27.000000

Warning: r7: resistance to low, set to 1 mOhm
"

Reply
andyfierman 9 years ago

These are different faults from those you asked about.

Error on line 9 : q1 q1_1 r1_2 volprobe5 bc546 Unable to find
definition of model

is because there is no model of that name in the spice model library.

You can find a model for this device from OnSemi and paste it into your schematic.

The errors:

Error on line 10 : j2 volprobe2 volprobe5 con_terminal_block_02-5mm
Unable to find definition of model - default assumed Error on line 11
: j1 volprobe1 volprobe5 con_terminal_block_02-5mm Unable to find
definition of model - default assumed

are also because there is no model of that name in the spice model library.

However, in spice simulations, you do not normally model things like connectors (unless as a simple resistance or more complex models for high frequency effects).

Sorry but this is also very confusing in terms of trying to help you because the error messages you are seeing refer to a different schematic from the one that can be seen called test3 DIP - Schematic as at 23:44pm GMT 151210.

The schematic also uses a version of the LM317 for which there is no spice model. Please use the LM317EE model from the EasyEDA Libs.

The warning about:

Warning: r7: resistance to low, set to 1 mOhm

is also confusing because in the current schematic this is shown as a Varistor.

However this type of warning is because the R7 it refers to has been set to zero. This is not allowed in spice.

Sadly also, the Varistor that you have also put in this schematic is about the only component in the EasyEDA Libs for which there is currently no working model. Models for these devices are very hard to model accurately and get them to run reliably; even the ones from from the device manufacturers.

That said, if you wish, I can build a behavioural model for the Varistor if you can point me to a specification for the part you wish to model but please be aware that it will not model the detailed performance and will not include temperature behaviour.

  • For more information please see:

https://easyeda.com/Doc/Simulation-eBook/

In particular:

https://easyeda.com/Doc/Simulation-eBook/Introduction-to-using-a-simulator.htm#Avoiding-common-mistakes

https://easyeda.com/Doc/Simulation-eBook/Device-models.htm#Device-models

and following on with:

https://easyeda.com/Doc/Simulation-eBook/Schematic-symbols-prefixes-and-pin-numbers.htm#Schematic-symbols-prefixes-and-pin-numbers

In the meanwhile, for the avoidance of doubt, could you share the exact schematic for which you have posted the error report?

Thanks,

Andy

Reply
andyfierman 9 years ago

I forgot to add:

When posting a question, it's a good idea to post the url of the project, the schematic or PCB file that the question relates to.

It saves a lot of time and misunderstanding in trying to relate questions to the relevant files.

Reply

Login or Register to add a comment
goToTop
你现在访问的是EasyEDA海外版,建议访问速度更快的国内版 https://lceda.cn(需要重新注册)
如果需要转移工程请在个人中心 - 工程 - 工程高级设置 - 下载工程,下载后在https://lceda.cn/editor 打开保存即可。
联系我们:https://docs.lceda.cn/cn/FAQ/Contact-Us/index.html不再提醒
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