Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added ConfigFailFastSpec to properly test whether ConfigFailFast works as expected [#300](https://github.com/ie3-institute/MobilitySimulator/issues/300)
- Implemented GitHub Actions Pipeline [#351](https://github.com/ie3-institute/MobilitySimulator/issues/351)
- Added some infrastructure for GHA pipeline [#371](https://github.com/ie3-institute/MobilitySimulator/issues/371)
- Added 'PlantUML-Diagrams' as basis for documentation [#382](https://github.com/ie3-institute/MobilitySimulator/issues/382)

### Changed
- Changed sets of evs from sorted to unsorted [#113](https://github.com/ie3-institute/MobilitySimulator/issues/113)
Expand Down
37 changes: 37 additions & 0 deletions docs/uml/schematic_process.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
@startuml
(*) --> "Initialise Simulation Parameter"
if "Determine Type of Day" then
--> "Working Day"
--> "Load Day Type Parameters"
else
--> "Saturday"

--> "Load Day Type Parameters"

--> "Initialise Trip Journal"

--> "Determine first Departure"

--> "Determine next Target State"

--> "Determine Driving Distance"

--> "Determine Driving Speed"

--> "Calculate Parking Duration"


if "Last trip of this day" then
[yes] if "All vehicles simulated?" then
--> [yes] (*)
else
--> [no] "Initialise Trip Journal"
endif
else
--> [no] "Determine next Target State"
endif

else
--> "Sunday"
--> "Load Day Type Parameters"
@enduml
31 changes: 31 additions & 0 deletions docs/uml/schematic_process_short.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
@startuml
(*) --> "Initialise Simulation Parameter"
if "Determine Type of Day" then
--> "Working Day"
--> "Load Day Type Parameters"
else
--> "Saturday"

--> "Load Day Type Parameters"

--> "Initialise Trip Journal"

--> "Determine first Departure"

--> "Determine\n - next Target State\n - Driving Distance\n - Driving Speed\n - Parking Duration"


if "Last trip of this day" then
[yes] if "All vehicles simulated?" then
--> [yes] (*)
else
--> [no] "Initialise Trip Journal"
endif
else
--> [no] "Determine\n - next Target State\n - Driving Distance\n - Driving Speed\n - Parking Duration"
endif

else
--> "Sunday"
--> "Load Day Type Parameters"
@enduml
23 changes: 23 additions & 0 deletions docs/uml/schematic_process_while_loop.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
@startuml
start
switch (Determine Type of Day)
case ()
:Weekday;
case ()
:Saturday;
case ()
:Sunday;
endswitch
:Load Day Type Parameters;
repeat
:Initialise Trip Journal;
:Determine first Departure;
repeat
:Determine next Target State\nDetermine Driving Distance\nDetermine Driving Speed\nDetermine next Departure\nCalculate Parking Duration;
:Simulate Trip and\nadd to Trip Journal;
repeat while (Next Departure today) is (yes) not (no)
repeat while (All vehicles simulated?) is (no) not (yes)
: Continue with next Day;
stop
@enduml