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 :
foreignreference variable :
Backend.coreintent :
in
- Type:
attr.Attribute
- m
Math wrapper functions provided by solver
Variable properties:
type :
foreignreference variable :
Backend.mintent :
in
- Type:
attr.Attribute
- label
No description given
Variable properties:
type :
variableintent :
outdimensions : ()
groups : label
- Type:
attr.Attribute
- group
No description given
Variable properties:
type :
variableintent :
outdimensions : ()
groups : FirstInit
- Type:
attr.Attribute
- time_input
Sequence of time for which to solve the model
Variable properties:
type :
variableintent :
indimensions : (‘time’,)
- Type:
attr.Attribute
- time
No description given
Variable properties:
type :
indexintent :
outdimensions : (‘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.
Initializing Time process as fully functional XSO component.
time_flux(**kwargs)Simple linear flux, that represents time within model.