Closed mtrberzi closed 8 years ago
@mtrberzi, please add something like the following to the drh
file.
d/dt[R1] = 0;
d/dt[C1] = 0;
d/dt[Vsource] = 0;
d/dt[Rcenter] = 0;
You had d/dt[VR1v] = ( (Vsource / R1) - VR1i - (VR1v / R1) ) / C1
in the file, but didn't specify the RHS of ODEs for the variables R1
, C1
, VSource
, and Rcenter
. For now, it's required to provide the RHS of each variables in a system of ODEs.
Does it also resolve #222? If not, please let me know.
It seems to be running now. Thank you for the advice. Just to clarify, this applies to any variable that's mentioned in an ODE?
Just to clarify, this applies to any variable that's mentioned in an ODE?
Yes, this is the case.
Attached here parallel-capacitor.drh is a dReach model I've written by hand, and attempted to run using
dReach -k 1 -l 1 parallel-capacitor.drh
. When dReal is invoked, the solver aborts with the following error:The same occurs if I manually run dReal with the SMT2 file that is generated by dReach. dReach's parser does not indicate that there is anything wrong with the input file, so I am not sure why I am seeing this error.