xso.backendcomps.Time

class xso.backendcomps.Time(*, core, m, time_input)[source]

Process defining model time and registering it in model backend.

Xsimlab does not provide a time variable by default, but since XSO focuses on differential equation modeling, this process is included by default.

core

Model backend instance is stored here

Variable properties:

  • type : foreign

  • reference variable : Backend.core

  • intent : in

Type:

attr.Attribute

m

Math wrapper functions provided by solver

Variable properties:

  • type : foreign

  • reference variable : Backend.m

  • intent : in

Type:

attr.Attribute

label

No description given

Variable properties:

  • type : variable

  • intent : out

  • dimensions : ()

  • groups : label

Type:

attr.Attribute

group

No description given

Variable properties:

  • type : variable

  • intent : out

  • dimensions : ()

  • groups : FirstInit

Type:

attr.Attribute

time_input

Sequence of time for which to solve the model

Variable properties:

  • type : variable

  • intent : in

  • dimensions : (‘time’,)

Type:

attr.Attribute

time

No description given

Variable properties:

  • type : index

  • intent : out

  • dimensions : (‘time’,)

Type:

attr.Attribute

__init__(*, core, m, time_input) None

Method generated by attrs for class Time.

Methods

__init__(*, core, m, time_input)

Method generated by attrs for class Time.

initialize()

Initializing Time process as fully functional XSO component.

time_flux(**kwargs)

Simple linear flux, that represents time within model.