VSRC - requested power should comply with passive convention bug #517
This commit is contained in:
parent
af99beb6a2
commit
ac4aa9dd8f
|
|
@ -107,7 +107,7 @@ VSRCask(CKTcircuit *ckt, GENinstance *inst, int which, IFvalue *value, IFvalue *
|
|||
} else {
|
||||
value->rValue = (*(ckt->CKTrhsOld+here->VSRCposNode)
|
||||
- *(ckt->CKTrhsOld + here->VSRCnegNode)) *
|
||||
-*(ckt->CKTrhsOld + here->VSRCbranch);
|
||||
*(ckt->CKTrhsOld + here->VSRCbranch);
|
||||
}
|
||||
return(OK);
|
||||
#ifdef SHARED_MODULE
|
||||
|
|
|
|||
Loading…
Reference in New Issue