Temporal response
CPGE - Analysis
This block allows to define the number of points and the time range of simulation of the temporal responses, in a practical and visible way. It is associated to the SCOPE blocks, which are functional only in presence of a REP_TEMP block.
Once placed on the windows, the REP_TEMP block indicates the time of simulation. In the example, the block indicates 6 secondes of simulation and the curve is generated by the block SCOPE. When there is several SCOPE blocks, the modification of the parameters of the REP_TEMP block allows to ajust all the blocks.
There should not have multiple REP_TEMP blocks but, if it is the case, the longer time will be taken into account.
The setting of the block is done with 1 dialog box.
The dialog box allows to precise the number of calculated points for the plot of the temporal response, the duration of the simulation and the display (or not) of the grid on the curves.
Number of points: 200
Simulation duration: 100
Display grid: 1 (yes)
This diagram shows the use of the REP_TEMP block to plot the temporal response of a brushed DC motor with a step of voltage, in 0.5 secondes.
The parameters R, L, Jeq and K are defined in the context (Simulation -> Modify the contexte).
CPGE_TOOLBOX/macros/REP_TEMP.sci
CPGE_TOOLBOX/macros/REP_TEMP_sim.sci
CPGE_TOOLBOX/macros/REP_TEMP_pre_simulate.sci
REP_FREQ