class

Quartz::DSDE::Executive

Inherits Quartz::AtomicModel / Quartz::Verifiable / Quartz::Observable / Quartz::Coupleable / Quartz::Transferable / Quartz::Stateful / Quartz::Model / Reference / Object

FIXME

Constants

STATE_CHECKS = {state_complete: true}

FIXME

Constructors

new(name, network : CoupledModel | Nil = nil)
Source

Instance methods

external_transition(bag)
Source
initial_state=(state : State)
initial_state=(state : Quartz::State)
internal_transition

Internal transition function (δint), called when the model should be activated, e.g when #elapsed reaches #time_advance

Override this method to implement the appropriate behavior of your model.

Example:

def internal_transition
  self.phase = :steady
end
Source
network
Source
network=(network : Nil | Quartz::DSDE::CoupledModel)
Source
output

The output function (λ)

Override this method to implement the appropriate behavior of your model. See #post to send values to output ports.

Example:

def output
  post(42, :output)
end
Source
phase
phase=(phase)
state
state=(state : State)
state=(state : Quartz::State)
time_advance

Time advance function (ta), called after each transition to give a chance to self to be active.

Override this method to implement the appropriate behavior of your model.

Example:

def time_advance
  Quartz.infinity
end
Source

Nested types