Changes between Version 3 and Version 4 of Ticket #6240, comment 2
- Timestamp:
- 2021-05-11T23:26:06Z (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #6240, comment 2
v3 v4 20 20 In general, handling overconstrained connector variables dynamically at runtime could be quite a big deal, because Modelica tools normally cannot handle structural dynamics at runtime. However, the special case of scalar overconstrained connector variables with zero-dimensional {{{equalityConstraint()}}} function output turns out to be very easy to implement, and is enough to address the issue with the synchronous AC grids. This is demonstrated by the attached examplary case. 21 21 22 The attached package contains components to build conceptual models of phasor-based AC power grid models, and will be used to demonstrate the proposed approach. The components are overly simplified and only retain the minimal features that are needed to analyze this language semantics extension.22 The attached package {{{DynamicOverconstrainedConnectors2.mo}}} contains components to build conceptual models of phasor-based AC power grid models, and will be used to demonstrate the proposed approach. The components are overly simplified and only retain the minimal features that are needed to analyze this language semantics extension. 23 23 24 24 In this case, the overconstrained variable is actually not the phase angle but rather the angular velocity of the phasor reference frame, which is sufficient to ensure that all state variables are constant when the synchronous islands are all operating in steady state.