accml_lib.core.model.config package
Submodules
accml_lib.core.model.config.magnet module
- class accml_lib.core.model.config.magnet.EnergyDependentConversionModel(**data)[source]
Bases:
BaseModelEnergy-dependent conversion model for magnetic objects.
Todo
Add metadata describing the units
accml_lib.core.model.config.power_converter module
- class accml_lib.core.model.config.power_converter.PowerConverter(**data)[source]
Bases:
BaseModel- Parameters:
id (Hashable)
interface (PowerConverterInterface)
response (ResponseModel)
- interface: PowerConverterInterface
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- response: ResponseModel
- class accml_lib.core.model.config.power_converter.PowerConverterInterface(**data)[source]
Bases:
BaseModel
- class accml_lib.core.model.config.power_converter.ResponseModel(**data)[source]
Bases:
BaseModelGeneral response model for a device reacting to a control input change
Timeout: whithin this time the device has to answer Settle time: after this time the device is expected to be in a stable state