Pulsonix User Forum

Technical advice from Pulsonix engineers and the wider community.

 All Forums
 Help with using Pulsonix
 Simulation
 Laplace device with parameters

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON

   Upload a file

Check here to subscribe to this topic.
   

T O P I C    R E V I E W
pdr Posted - 21 Sep 2018 : 16:45:22
Hi.

I am trying to do a (control loop) simulation with laplace devices.
In these devices you can use equations to define its behaviour.
I would like to enter values in these equations by means of the .param simulator control.
However, this makes the simulator abort with a syntax error.

When I look at the generated spice netlist, I see that the .param name is copied within the quotes and not replaced by the actual value

.subckt $$LaplaceLAP2 INP OUTP
A1 INP OUTP Laplace
.model Laplace s_xfer laplace="{Kdc}/(12*s+1)" denormalized_freq=1
.ends

Is there any way to make this work ?
1   L A T E S T    R E P L I E S    (Newest First)
Jochen Posted - 26 Sep 2018 : 13:46:07
Hi,

the Pulsonix Spice Manual states that the Laplace model can only work with numerical constants like 1.234. Parameters are not mentioned, so i assume they are just not supported there.

Jochen