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

Running HELICS on my Ubuntu Machine #103

Open
JTZ83 opened this issue Apr 10, 2024 · 2 comments
Open

Running HELICS on my Ubuntu Machine #103

JTZ83 opened this issue Apr 10, 2024 · 2 comments

Comments

@JTZ83
Copy link

JTZ83 commented Apr 10, 2024

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
Copy link
Member

nightlark commented Apr 10, 2024

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"):

  • what specific file and line of code did you change from a float to a string?
  • what was the error message or wrong behavior you observed before making the change?
  • what version of HELICS?
  • what version of Python are you using?
  • what specific operating system version are you running, and what CPU architecture?

(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.)

@trevorhardy
Copy link
Contributor

@JTZ83; is this still a pending issue for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants