Time step size variable - scripting API

Time step size variable - scripting API

Anonymous
Not applicable
613 Views
1 Reply
Message 1 of 2

Time step size variable - scripting API

Anonymous
Not applicable

Hi all, 

 

I've read on several post that some users are able to use different time step size through time with scripting. 

 

I'd really be interested to do so. 

 

Can anyone share a guidance to build and use a simple script ? not sure where to look

 

Also, why the standard variation options (Ramp, piecewise, ...) are not already available for Time Step Size within the UI in the Solve box dialog ?

 

Capturec.PNG

0 Likes
Accepted solutions (1)
614 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Accepted solution

If you seach for "API" on the online help, you will get a lot of info.

 

The API manual with examples can be downloaded here.  The API has not been updated in several years so 2015 is the latest version of the manual.

 

Note that the API can only help to automate the existing functionality in the interface; it cannot be used to add new functionality.

 

The only way to change the timestep during a run is to stop the solver, change the timestep, and then restart from the last saved timestep.