-
Notifications
You must be signed in to change notification settings - Fork 432
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
113 changed files
with
4,692 additions
and
1,967 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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
|
||
include::io.openems.edge.scheduler.allalphabetically.adoc[leveloffset=+1] | ||
|
||
include::io.openems.edge.scheduler.dailyscheduler.adoc[leveloffset=+1] | ||
include::io.openems.edge.scheduler.daily.adoc[leveloffset=+1] | ||
|
||
include::io.openems.edge.scheduler.fixedorder.adoc[leveloffset=+1] |
4 changes: 2 additions & 2 deletions
4
doc/modules/ROOT/pages/simulation.adoc → ...dules/ROOT/pages/simulation/realtime.adoc
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
= UI History Simulation | ||
:imagesdir: ../../assets/images | ||
:sectnumlevels: 0 | ||
:toc: | ||
:toclevels: 0 | ||
|
||
Sometimes it can be useful to mock historic data in OpenEMS UI in order to take consistent screenshots or to visualize how a certain Controller would have behaved during a day. | ||
|
||
Prepare the mock for the historic view: | ||
|
||
. first copy the example https://github.com/OpenEMS/openems/tree/develop/io.openems.edge.simulator/src/io/openems/edge/simulator/timedata/timedata.csv[CSV file icon:github[]] to your home directory, e.g. `C:\Users\username\` on windows. | ||
|
||
. adjust the file to mock all required channel values. | ||
+ | ||
NOTE: The CSV file is read on every data query by the UI. So in order to update the values, just save the CSV file and click again on 'Today' or 'Yesterday' in the history view to refresh. | ||
+ | ||
NOTE: To provide data for one day, that file should have 288 lines with values. | ||
+ | ||
.The mocked data in the CSV file | ||
image::ui-mock-csv.png[The mocked data in the CSV file] | ||
|
||
OpenEMS UI creates charts dynamically according to which OpenEMS Components are enabled. To mock the historic view, it is required to activate OpenEMS Component via Apache Felix (see xref:gettingstarted.adoc[Getting Started]) or directly in the UI OpenEMS Settings screen. | ||
|
||
. configure the OpenEMS Components that should be simulated, e.g. a meter, PV inverter,... | ||
|
||
. configure the `Simulator Timedata` service. | ||
|
||
. open the OpenEMS UI (see xref:gettingstarted.adoc[Getting Started]), login and open the 'History' view. You should be presented the mocked data. | ||
|
||
.The mocked data in the UI 'History' view | ||
image::ui-mock-history.png[The mocked data in the UI 'History' view] |
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
Oops, something went wrong.