Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

ALTIUM Simulate Schematic and debugg division by zero

Status
Not open for further replies.

cmunikat

Member level 2
Joined
Jan 14, 2005
Messages
46
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
337
Hello,

When I try to simulate an altium schematic, I found an error which may be related to division by zero, as the error message shows below.

[Error] PCB_Project XSpice Error: 1, NAN out of range for / in (1) / (v(temp_termistor)) + (273))

The software shows the .nsx file with the netlist and where the error occurs. However I would need to do something to allow debugging, like variable browsing, step excecution, and so on


Is there a way to turn on debugging in ALTIUM? I am simulating an analog circuit with some complexity.

thanks!
Cmunikat
 

ArticCynda

Advanced Member level 1
Joined
May 8, 2013
Messages
424
Helped
82
Reputation
164
Reaction score
81
Trophy points
1,308
Activity points
4,047
You'd get a division by zero if no temperature is specified for the thermistor. There are 2 ways to solve this:
- in the Spice model, check which parameter represents temperature and add a property to the thermistor schematic component to specify that parameter
- look up the resistance of the thermistor at the temperature you want to simulate at, and simply replace the thermistor with a constant value resistor for the duration of your simulation.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top