Skip to content

Commit 2a8198f

Browse files
authored
Merge pull request #1576 from poorva1209/issue_1482
resolved issue with second simulation not completing properly
2 parents 58eaa68 + 3f903a8 commit 2a8198f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gov.pnnl.goss.gridappsd/src/gov/pnnl/goss/gridappsd/simulation/SimulationProcess.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ else if(simulationConfig.getSimulator().equals(gridlabdConstant)){
187187

188188
//Subscribe to fncs-goss-bridge output topic
189189
GossFncsResponseEvent gossFncsResponseEvent = new GossFncsResponseEvent(logManager, isInitialized, isFinished, simulationId);
190-
client.subscribe(GridAppsDConstants.topic_COSIM_output, gossFncsResponseEvent);
190+
client.subscribe("/topic/"+GridAppsDConstants.topic_COSIM_output, gossFncsResponseEvent);
191191

192192
logManager.info(ProcessStatus.RUNNING, simulationId, "Checking if co-simulation is initialized, currently "+isInitialized.isInited);
193193

services/helicsgossbridge/service/helics_goss_bridge.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ class HelicsGossBridge(object):
115115
_helics_configuration = {}
116116
_helics_federate = None
117117
_is_initialized = False
118-
_simulation_manager_input_topic = 'goss.gridappsd.cosim.output'
118+
_simulation_manager_input_topic = '/topic/goss.gridappsd.cosim.output'
119119
_simulation_command_queue = Queue()
120120
_start_simulation = False
121121
_filter_all_commands = False

0 commit comments

Comments
 (0)