Initial conditions
I have a STATE in my UDM that represents time (I have timing-based switching inside). I Initialise the derivative to 1.0, since I want it to start capturing time from the beginning of the simulation. However, this causes an initial condition warning and I do not get Initial Conditions O.K.. Is there a way to overwrite this so it does not alert as a warning, or another way to initialise it? I have tried initialising to 0.0 in MODE 1, but since MODE 2 and 3 are called during initialisation, DSTATE gets overwritten anyway.
Comments