mirror of
https://github.com/ra3xdh/qucs_s
synced 2025-03-28 21:13:26 +00:00
Enable parameter sweep for TRAN SENS
This commit is contained in:
parent
1fe9f370ea
commit
c16dce9296
@ -187,6 +187,9 @@ void Xyce::createNetlist(QTextStream &stream, int , QStringList &simulations,
|
||||
} else if (SwpSim.startsWith("SENS")&&(sim=="sens")) {
|
||||
stream<<s;
|
||||
hasParSweep = true;
|
||||
} else if (SwpSim.startsWith("TSENS")&&(sim=="sens_tr")) {
|
||||
stream<<s;
|
||||
hasParSweep = true;
|
||||
} else if (SwpSim.startsWith("SW")&&(sim=="dc")) {
|
||||
for(Component *pc1 = Sch->DocComps.first(); pc1 != 0; pc1 = Sch->DocComps.next()) {
|
||||
if ((pc1->Name==SwpSim)&&(pc1->Props.at(0)->Value.startsWith("DC"))) {
|
||||
|
@ -38,7 +38,7 @@ SpiceSENS_TR_Xyce::SpiceSENS_TR_Xyce()
|
||||
tx = 0;
|
||||
ty = y2+1;
|
||||
Model = ".SENS_TR_XYCE";
|
||||
Name = "SENS";
|
||||
Name = "TSENS";
|
||||
SpiceModel = ".SENS";
|
||||
|
||||
// The index of the first 4 properties must not changed. Used in recreate().
|
||||
|
Loading…
x
Reference in New Issue
Block a user