Questionable results with simulation software

Click For Summary

Discussion Overview

The discussion revolves around discrepancies observed between theoretical calculations and results obtained from Yenka simulation software in basic DC circuit analysis. Participants explore the potential reasons for these differences, including the accuracy of the simulation software and the nature of the circuits being analyzed.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Homework-related

Main Points Raised

  • One participant notes that their theoretical calculations using Kirchhoff, Thevenin, and Norton theorems yield consistent results, while Yenka shows discrepancies of up to 8.5%.
  • Another participant suggests that the software might be a poor solver or that there could be additional elements in the simulation not accounted for in the analytical solution.
  • A different participant expresses skepticism about Yenka's capabilities, indicating it may not be suitable for accurate network analysis.
  • One participant reports successful results using LTspice, suggesting it may be a better alternative for circuit analysis.
  • Concerns are raised about the possibility of internal resistance in the Yenka simulation affecting results.
  • Some participants emphasize that discrepancies in DC analysis should not occur, questioning the accuracy of the simulation setup.
  • There is a suggestion that the participant should check the parameters of the elements in the Yenka simulation to ensure they match their expectations.

Areas of Agreement / Disagreement

Participants express differing views on the reliability of Yenka as a simulation tool, with some finding it inadequate while others report consistent results across different software. The discussion remains unresolved regarding the specific reasons for the discrepancies noted by the original poster.

Contextual Notes

Limitations include potential differences in simulation settings, such as internal resistance, which may not align with the participant's theoretical model. The discussion does not clarify whether these factors have been fully explored or accounted for in the simulations.

Bourbon daddy
Messages
24
Reaction score
0
I am doing an assignment for college, (though my question is more general, rather than based on questions I have been set, hence the reason this post not being in the homework forum).

It is basic DC circuit analysis using, Kirchhoff, Thevenin and Norton theorems. Nothing taxing, so I know my calculations are correct. Also, using different methods on each circuit is giving me the same results,confirming my findings.

However, to back it up, I have also created the circuits using Yenka simulation software and I find that the results differ. Not by much, generally less than 5% of the expected value, but occasionally as much as 8.5%. I am not too concerned, but does anyone know why there is a slight anomaly between the results. Am I just expecting too much from the software or is it something more than this. For instance, the calculations being more of a theoretical estimation and the simulation software being closer to what the readings would be 'in the real world'.

Thanks guys
 
Engineering news on Phys.org
Bourbon daddy said:
... For instance, the calculations being more of a theoretical estimation and the simulation software being closer to what the readings would be 'in the real world' ...
All the software does is find a numerical solution to a problem you already have an analytical solution for. If there's that large of a difference in results, then it's either a terrible solver for your problem (which seems odd for the ideal, linear networks you're probably working on) or there's other elements to the circuit used in the simulation which you aren't including when solving it analytically.

Have you tried using LTspice or some other SPICE simulator to compare results?
 
I haven't tried LT spice, I will download it and give it a go. Yenka is a very basic software, similar to crocodile technologies, that I was introduced to when designing circuits with logic gates. It is not really up to much, I usually just use it to illustrate the circuits that I am solving.

Like I said, the circuits that I am calculating are all very basic: 2 voltage sources, 3 resistors max. So i could understand why the results are so inaccurate.

Thanks for the advice though, being fairly new to this, I am always on the look out for good software I can use.
 
I'm not familiar with the software from Yenka - the default settings for its solver might be too lax (as in _a lot_), but I'm just speculating. If you have the same problem with LTspice then I'd very much like to see your analytical solution vs. the simulation results.
 
of course. I have just downloaded LT spice IV. I will watch a few tutorials and get to grips with it, but it will probably be later tonight, or maybe even tomorrow that I get to complete the questions that I am currently doing.
 
Show as a circuit diagram you use in Yenka. Is impossible to get wrong result in DC analysis in simulation software.
 
I have just set up a parallel dc circuit consisting of two power supplies, 108V and 84V, and three resistors, 6, 99 and 30 ohms. Measuring the voltage and current of the various components using LT spice I am getting exactly the results I was expecting. I guess it is time to stop using Yenka for network analysis. Thanks for the advice Miles young.
 
Well very strange, because I get exactly the same result in both programs.
Maybe you have "ON" internal resistance in Yenka.
 

Attachments

  • 1.PNG
    1.PNG
    13.9 KB · Views: 517
Jony130 said:
Is impossible to get wrong result in DC analysis in simulation software.

Ahh ... the innocence of youth ... :smile:

But if you are getting results 5% wrong for a circuit that simple, either the software is complete junk, or (more likely) the simulation you ran was not the same as the one you wanted to run.
 
  • #10
AlephZero said:
Ahh ... the innocence of youth ... :smile:

But if you are getting results 5% wrong for a circuit that simple, either the software is complete junk, or (more likely) the simulation you ran was not the same as the one you wanted to run.

Yep ... Perhaps the simulation has an internal resistance in the source, or some other aspect that it is modeling that does not match what the OP thinks they are simulating. I am not familiar with that software, but the OP should "open up" the elements and see what parameters they have ... it is likely not doing what they think it is. It is possible the software reallly is that bad - but I would be surprised.

jason
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
4K
Replies
8
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
Replies
2
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 11 ·
Replies
11
Views
1K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 22 ·
Replies
22
Views
5K