User Tools

Site Tools


time_event

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
time_event [2021/11/15 14:07]
mina
time_event [2023/03/02 10:07]
dmytroh
Line 11: Line 11:
 Simulation time boundaries are set in the [[simulation settings]] window. The **start time** is typically 0, and **end time** typically indicates the number of time units to run the simulation.  Simulation time boundaries are set in the [[simulation settings]] window. The **start time** is typically 0, and **end time** typically indicates the number of time units to run the simulation. 
  
-When you want an event to trigger depending on the value of the [[time]] variable, you use either [[parameter]] or [[lookup table]] blocks. +When you want an event to trigger depending on the value of the //time// variable, you use either [[parameter]] or [[lookup table]] blocks. 
  
 ^Type^Description^ ^Type^Description^
Line 22: Line 22:
 The end user specifies the simulation start date in the [[simulation settings]] window. The end date is either derived from the duration of the simulation (the end time-the start time), or given by the user. When working with dates Ecolego converts the simulation time to a calendar date. This means that leap years are taken into account.    The end user specifies the simulation start date in the [[simulation settings]] window. The end date is either derived from the duration of the simulation (the end time-the start time), or given by the user. When working with dates Ecolego converts the simulation time to a calendar date. This means that leap years are taken into account.   
  
-For dates there are more options than when working with simulation time. You would use either [[time point]] or [[time series]] blocks. The **mode** of the block (date, year, day of year etc.) will influence the behaviour of the event time block.  +For dates there are more options than when working with simulation time. You would use either [[time point]] or [[time_series_page|time series]] blocks. The **mode** of the block (date, year, day of year etc.) will influence the behaviour of the event time block.  
  
 ^Type^Periodic^Description^ ^Type^Periodic^Description^
Line 50: Line 50:
 As with [[discrete event|discrete events]], several blocks can take advantage of events. Read more [[events#Reacting to events|here]]. As with [[discrete event|discrete events]], several blocks can take advantage of events. Read more [[events#Reacting to events|here]].
  
-===== Creating a discrete event =====+===== Creating a time event =====
  
 From the [[Projects_window|Projects window]] From the [[Projects_window|Projects window]]
  
-  * Expand the Project to which you wish to add the discrete event by clicking the + symbol next to it. Right-click on ‘Blocks’, or a [[Sub-system|sub-system]] in ‘Blocks’, and select **Time event** from the pop-up menu.+  * Expand the Project to which you wish to add the time event by clicking the + symbol next to it. Right-click on ‘Blocks’, or a [[Sub-system|sub-system]] in ‘Blocks’, and select **Time event** from the pop-up menu.
  
 From the [[Matrix_window|Matrix window]] From the [[Matrix_window|Matrix window]]
Line 83: Line 83:
 ==== Values ==== ==== Values ====
  
-This page lets you select which objects to read time points from. This page lists all [[parameter]], [[lookup table]], [[time point]] and [[time series]] blocks of the model. Below the list are controls that allow you to search for blocks and selecting a sub-system. **Note** by default the list shows only blocks from the same sub-system as the event. +This page lets you select which objects to read time points from. This page lists all [[parameter]], [[lookup table]], [[time point]] and [[time_series_page|time series]] blocks of the model. Below the list are controls that allow you to search for blocks and selecting a sub-system. **Note** by default the list shows only blocks from the same sub-system as the event. 
  
 **Dimension** - You can specify the dimension of the block by using the **Type** drop down list. Depending on the dimension the index drop down lists are activated. See [[Editing_values|editing values]] for more information. **Dimension** - You can specify the dimension of the block by using the **Type** drop down list. Depending on the dimension the index drop down lists are activated. See [[Editing_values|editing values]] for more information.
time_event.txt · Last modified: 2023/03/02 12:39 by dmytroh