Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PlantUML logging of messages for easy debugging #42

Open
t-ober opened this issue Dec 16, 2021 · 0 comments
Open

PlantUML logging of messages for easy debugging #42

t-ober opened this issue Dec 16, 2021 · 0 comments
Labels

Comments

@t-ober
Copy link
Contributor

t-ober commented Dec 16, 2021

@johanneshiry made me aware of the following:

Within the Beam project they log messages in a PlantUML format including states of the agents and ticks of their change.
This seems to be a genius way for easy debugging of complex message protocols.

Here are their corresponding docs and here is the corresponding PR

This might be a worthy feature if our message protocols get more complex. As of Johannes' quick assessment it seems like the code and concept can be relatively easily applied to SIMONA

@t-ober t-ober added the code quality Code readability or efficiency is improved label Dec 16, 2021
ckittl added a commit that referenced this issue Jan 19, 2022
# Conflicts:
#	CHANGELOG.md
#	src/main/scala/edu/ie3/simona/agent/participant/evcs/EvcsAgent.scala
#	src/main/scala/edu/ie3/simona/agent/participant/evcs/EvcsAgentFundamentals.scala
ckittl added a commit that referenced this issue Feb 10, 2022
…into mb/#42-ba-feature-branch

# Conflicts:
#	CHANGELOG.md
#	build.gradle
#	input/samples/vn_simona/fullGrid/line_input.csv
#	input/samples/vn_simona/fullGrid/node_input.csv
#	src/main/scala/edu/ie3/simona/config/ConfigFailFast.scala
#	src/main/scala/edu/ie3/simona/config/RefSystemParser.scala
#	src/test/scala/edu/ie3/simona/config/RefSystemParserSpec.scala
ckittl added a commit that referenced this issue Mar 16, 2022
# Conflicts:
#	CHANGELOG.md
#	input/samples/vn_simona/fullGrid/pv_input.csv
#	src/test/resources/edu/ie3/simona/model/participant/pv/it/grid_data/pv_input.csv
sebastian-peter added a commit that referenced this issue May 20, 2022
# Conflicts:
#	CHANGELOG.md
#	input/samples/pcm/base.conf
#	input/samples/vn_146_lv_small/fullGrid/transformer_2_w_type_input.csv
#	input/samples/vn_simona/fullGrid/transformer_2_w_type_input.csv
#	src/main/resources/config/config-template.conf
#	src/main/scala/edu/ie3/simona/config/ConfigFailFast.scala
#	src/main/scala/edu/ie3/simona/config/RefSystemParser.scala
#	src/main/scala/edu/ie3/simona/config/SimonaConfig.scala
#	src/main/scala/edu/ie3/simona/service/primary/PrimaryServiceProxy.scala
#	src/main/scala/edu/ie3/simona/service/primary/PrimaryServiceWorker.scala
#	src/main/scala/edu/ie3/simona/service/weather/WeatherSourceWrapper.scala
#	src/main/scala/edu/ie3/simona/sim/setup/ExtSimLoader.scala
#	src/test/scala/edu/ie3/simona/config/ConfigFailFastSpec.scala
#	src/test/scala/edu/ie3/simona/config/RefSystemParserSpec.scala
#	src/test/scala/edu/ie3/simona/service/primary/PrimaryServiceProxySpec.scala
staudtMarius added a commit that referenced this issue Jun 7, 2022
@sebastian-peter sebastian-peter added log and removed code quality Code readability or efficiency is improved labels Jun 21, 2022
staudtMarius added a commit that referenced this issue Jul 11, 2022
# Conflicts:
#	input/samples/vn_simona/fullGrid/load_input.csv
#	src/main/scala/edu/ie3/simona/agent/grid/DBFSAlgorithm.scala
#	src/main/scala/edu/ie3/simona/agent/grid/GridAgentData.scala
#	src/main/scala/edu/ie3/simona/agent/grid/GridResultsSupport.scala
#	src/main/scala/edu/ie3/simona/agent/grid/PowerFlowSupport.scala
#	src/main/scala/edu/ie3/simona/agent/grid/ReceivedValuesStore.scala
sebastian-peter added a commit that referenced this issue Jul 20, 2022
…branch

# Conflicts:
#	input/samples/vn_simona/fullGrid/load_input.csv
sebastian-peter added a commit that referenced this issue Aug 1, 2022
# Conflicts:
#	CHANGELOG.md
#	src/main/scala/edu/ie3/simona/agent/grid/PowerFlowSupport.scala
#	src/test/scala/edu/ie3/simona/agent/grid/DBFSAlgorithmCenGridSpec.scala
sebastian-peter added a commit that referenced this issue Aug 1, 2022
…branch

# Conflicts:
#	src/main/scala/edu/ie3/simona/agent/grid/PowerFlowSupport.scala
#	src/test/scala/edu/ie3/simona/agent/grid/DBFSAlgorithmCenGridSpec.scala
sebastian-peter added a commit that referenced this issue Aug 8, 2022
# Conflicts:
#	src/main/scala/edu/ie3/simona/model/participant/EvcsModel.scala
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants