Summary
Create a signal bus model that stores a scalar value, which can be overwritten by one (and only one) component model and which can be read by multiple components.
CC @lukelowry @reid-g
Rationale
Signal bus is needed to abstract connections between electrical machines and control devices such as governors and exciters. Machine would update sensor readings (e.g. machine speed), which would be read by control devices (e.g. governor). Control devices would update actuator signals (e.g. mechanical power required), which would be read by a machine.
Both the machine and the controller would only have access to the signal bus and would not need to know about each other internal properties.
Description
I think signal bus should inherit directly from Model::Evaluator class. It should store (memory address of) a single scalar value. Unlike electrical bus, it should discriminate between inlet and outlet. Inlet should be a non-constant accessor to the scalar value and should allow only one connection. Outlet is a const accessor.
To be able to test signal model, we should create constant signal source and signal reader blocks.
Additional information
No response
Summary
Create a signal bus model that stores a scalar value, which can be overwritten by one (and only one) component model and which can be read by multiple components.
CC @lukelowry @reid-g
Rationale
Signal bus is needed to abstract connections between electrical machines and control devices such as governors and exciters. Machine would update sensor readings (e.g. machine speed), which would be read by control devices (e.g. governor). Control devices would update actuator signals (e.g. mechanical power required), which would be read by a machine.
Both the machine and the controller would only have access to the signal bus and would not need to know about each other internal properties.
Description
I think signal bus should inherit directly from
Model::Evaluatorclass. It should store (memory address of) a single scalar value. Unlike electrical bus, it should discriminate between inlet and outlet. Inlet should be a non-constant accessor to the scalar value and should allow only one connection. Outlet is a const accessor.To be able to test signal model, we should create constant signal source and signal reader blocks.
Additional information
No response