trnsystor.statement.Simulation

class trnsystor.statement.Simulation(start=0, stop=8760, step=1)[source]

SIMULATION Statement.

The SIMULATION statement is required for all simulations, and must be placed in the TRNSYS input file prior to the first UNIT-TYPE Statement. The simulation statement determines the starting and stopping times of the simulation as well as the time step to be used.

Initialize the Simulation Statement.

Attention

With TRNSYS 16 and beyond, the starting time is now specified as the time at the beginning of the first time step.

Parameters
  • start (int) – The hour of the year at which the simulation is to begin.

  • stop (int) – The hour of the year at which the simulation is to end.

  • step (float) – The time step to be used (hours).