simprocesd.model.cms package
Submodules
simprocesd.model.cms.cms module
- class simprocesd.model.cms.cms.Cms(maintainer, name=None, value=0)
Bases:
Asset
Base class to represent a Condition Monitoring System.
Note
Cms is experimental at this time and is expected to have significant changes that may not be backwards compatible.
- Parameters
maintainer (Maintainer) – Maintainer where to issue work orders.
name (str, default=None) – Name of the Cms. If name is None then it will be changed to Cms_<id>
value (float, default=0) – Starting value of the Cms.
- add_sensor(sensor)
Register a sensor for the CMS.
- Parameters
sensor (Sensor) – Sensor to be registered.
- initialize(env)
Prepare Asset for simulation and reset attributes to starting values.
In most cases this is called automatically by the System. Needs to be called manually if the Asset was initialized with is_transitory set to True.
- Parameters
env (Environment) – Environment used by the simulating System.