Summary
Consider setting "order" parameter that would instantiate different order models from the same source code. Applicable to control devices.
Similarly we could consider adding "faultable" feature to the model. In that case the fault would change the configuration of the system (e.g. introduce short-to-ground at a bus or disconnect branch). The fault would be configured upon event and system would be reinitialized. Fault clearing would be implemented in a similar fashion.
Rationale
Changing order of the model or injecting fault changes topology of the system. Changes like that are requiring different simulation with initialization and computing consistent initial values.
Description
This is mainly point for a discussion. The solution I propose is to have a discrete parameter that would model use to assemble different sets of differential and algebraic equations. Since selecting different order of model and injecting fault are mathematically similar operations, the same infrastructure could be used for both.
Additional information
No response
Summary
Consider setting "order" parameter that would instantiate different order models from the same source code. Applicable to control devices.
Similarly we could consider adding "faultable" feature to the model. In that case the fault would change the configuration of the system (e.g. introduce short-to-ground at a bus or disconnect branch). The fault would be configured upon event and system would be reinitialized. Fault clearing would be implemented in a similar fashion.
Rationale
Changing order of the model or injecting fault changes topology of the system. Changes like that are requiring different simulation with initialization and computing consistent initial values.
Description
This is mainly point for a discussion. The solution I propose is to have a discrete parameter that would model use to assemble different sets of differential and algebraic equations. Since selecting different order of model and injecting fault are mathematically similar operations, the same infrastructure could be used for both.
Additional information
No response