GMLC-TDC / HELICS-Examples

Examples for using HELICS with a variety of the supported programming languages
BSD 3-Clause "New" or "Revised" License
20 stars 19 forks source link

Running HELICS on my Ubuntu Machine #103

Open JTZ83 opened 3 months ago

JTZ83 commented 3 months ago

I tried to run the first example on as on the code below:

{ "broker": true, "federates": [ { "directory": ".", "exec": "python 1abc_Transmission_simulator.py -c 1a", "host": "localhost", "name": "1a_Transmission" }, { "directory": ".", "exec": "gridlabd 1a_IEEE_123_feeder.glm", "host": "localhost", "name": "1a_GridLABD" } ], "name": "1a-T-D-Cosimulation-HELICSRunner"

The code was not running and it had to be changed from float to string before it worked. Please what is the reason for this?

nightlark commented 3 months ago

That code just looks like a direct copy of https://github.com/GMLC-TDC/HELICS-Examples/blob/d57289dc391b17a6ef6ab1f9148b5d5ef9a74f1c/user_guide_examples/misc/gridlabd_example_1/1a_cosim_runner.json

I think you’re going to need to provide more detail on several things if you want help (most of this information is asked for in the issue template that gets shown when creating a new issue and selecting "Bug Report"):

(Another note from a make it easy for your issue to get noticed by people who may be able to help: The issue title should be a summary of what the bug is — is it a crash when doing X, a feature request, etc? When I saw the current title, I didn’t even know you had a problem — and I get enough notifications that I’d likely skip over it because I can't tell if it is relevant to me.)