Mr Alfabet Posted January 16, 2015 Report Share Posted January 16, 2015 Basically the question stated in the title, I'm particularly interested in: Does the solver make smaller steps internally than the TDF module time step? If so: are these steps fixed (like 1/100th of the TDF module time step) or variable? Is there a way to find out how many steps the solver actually did? What kind of solver algorithm is used? If anyone has an answer to one of these questions or can point me to a document that answers them, please tell me. I was not able to find this information in the LRM or through Google. Michaelsl 1 Quote Link to comment Share on other sites More sharing options...
maehne Posted January 19, 2015 Report Share Posted January 19, 2015 The solution of state-space equations is an implementation detail and not covered by the SystemC AMS 2.0 LRM. However, the SystemC AMS 2.0 LRM defines the semantics for the solution of the state-space equation system and how you can obtain solutions with a pace smaller than the TDF time step and redo a solution step (cf. to the discussion of the tstep parameter in clause 4.1.4.5.8). Regarding your points, the answers depend on the used implementation of SystemC AMS 2.0. I will assume that you use Fraunhofer SystemC-AMS: An implementation may do smaller time steps than the TDF module time step. The linear ODE/DAE solver is for its internal time stepping constrained only to not make a step bigger than the TDF module time step or the explicitly passed tstep value. I'm not aware that an instance of sca_tdf::sca_ss can output statistics about its internal time stepping. As far as I know, Fraunhofer SystemC-AMS uses the Euler and trapezoidal integration methods. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.