Skip to content

Unable to connect to publication target #2532

Answered by afisher1
Barsha96 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @Barsha96 The connection issue is due to the publication is being defined as a global publication in r1config.json. either set "global": false, or remove the "R1/" from your subscription in mainfed.py. I also saw some other potential issues as a GridLAB-D developer and user.

First is the clock object in r1.glm has no starttime or stoptime defined. Without it GridLAB-D won't know when to start and stop it's simulation. I'm surprised it didn't throw an error.

The period is set to 20 seconds in the GridLAB-D federate. This could potentially cause a crash in GridLAB-D. It is always recommended that period be set to 1 second. Especially since you set the minimum_timestep=1 in r1.glm. You…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Barsha96
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants