-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'rte/develop' into feature/reserve_model…
…_lot3_scalian
- Loading branch information
Showing
438 changed files
with
10,744 additions
and
4,310 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,4 +75,3 @@ jobs: | |
tag: ${{ github.event.inputs.release_tag }} | ||
run: | | ||
gh release upload "$tag" ${{ env.PDF_PATH }} | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
131 changes: 131 additions & 0 deletions
131
docs/developer-guide/Architecture/Dynamic-modeler-architecture.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,131 @@ | ||
# Dynamic modeler architecture | ||
|
||
## Models | ||
(for details about these concepts, see [this page](../../user-guide/solver/dynamic-modeler/05-model.md)) | ||
|
||
```plantuml | ||
@startuml | ||
class Model { | ||
+ string id | ||
+ Expression objective | ||
+ map<string, Parameter> parameters | ||
+ map<string, Variable> variables | ||
+ map<string, Constraint> constraints | ||
+ map<string, Port> ports | ||
} | ||
Model "1" *-- "0:N" Parameter | ||
Model "1" *-- "0:N" Variable | ||
Model "1" *-- "0:N" Constraint | ||
Model "1" *-- "0:N" Port | ||
Model --> Expression | ||
class Parameter { | ||
+ string id | ||
+ ValueType type | ||
+ bool timeDependent | ||
+ bool scenarioDependent | ||
} | ||
Parameter "N" *-- "1" ValueType | ||
enum ValueType { | ||
FLOAT | ||
INTEGER | ||
BOOL | ||
} | ||
class Variable { | ||
+ string id | ||
+ ValueType type | ||
+ Expression lowerBound | ||
+ Expression upperBound | ||
} | ||
Variable "N" *-- "1" ValueType | ||
Variable --> Expression | ||
class Constraint { | ||
+ string id | ||
+ Expression expression | ||
} | ||
Constraint --> Expression | ||
class Port { | ||
+ string id | ||
+ PortType type | ||
} | ||
Port "N" *-- "1" PortType | ||
class PortType { | ||
+ id | ||
+ vector<PortField> fields | ||
} | ||
PortType "1" *-- "1:N" PortField | ||
class PortField { | ||
+ string id | ||
} | ||
class Expression { | ||
+ string textualRepresentation | ||
+ Node nodeRepresentation | ||
} | ||
class ModelLibrary { | ||
+ string id | ||
+ map<string, Model> models | ||
} | ||
ModelLibrary "1" *-- "1:N" Model | ||
class ModelLibraryRepository { | ||
+ map<string, ModelLibrary> modelLibraries | ||
} | ||
ModelLibraryRepository "1" *-- "0:N" ModelLibrary | ||
@enduml | ||
``` | ||
|
||
## Components | ||
(for details about these concepts, see [this page](../../user-guide/solver/dynamic-modeler/05-model.md)) | ||
|
||
```plantuml | ||
@startuml | ||
class Model { | ||
+ string id | ||
+ Expression objective | ||
+ map<string, Parameter> parameters | ||
+ map<string, Variable> variables | ||
+ map<string, Constraint> constraints | ||
+ map<string, Port> ports | ||
} | ||
class Component { | ||
+ string id | ||
+ Model model | ||
+ string scenarioGroup | ||
+ map<string, Expression> parameterValues | ||
} | ||
Component "0:N" *-- "1" Model | ||
Component --> Expression | ||
class Expression { | ||
+ string textualRepresentation | ||
+ Node nodeRepresentation | ||
} | ||
class PortConnection { | ||
+ string component1Id | ||
+ string port1Id | ||
+ string component2Id | ||
+ string port2Id | ||
} | ||
class System { | ||
+ map<string, Component> components | ||
+ vector<PortConnection> portConnections | ||
} | ||
System "1" *-- "1:N" Component | ||
System "1" *-- "0:N" PortConnection | ||
@enduml | ||
``` |
Oops, something went wrong.