Skip to content

Commit d96c0ed

Browse files
committed
fix: provider config missing config-file for RTDS/OPALRT
1 parent ffd3333 commit d96c0ed

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/python/phenix_apps/apps/sceptre/templates/provider_config.mako

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1+
<%page args="solver, server_endpoint, publish_endpoint, debug='False', config_helics=None, case_file=None, oneline_file=None, pwds_endpoint=None, config_file=None, **kwargs"/>
12
[power-solver-service]
23
solver-type = ${solver}
4+
debug = ${debug}
35
% if config_helics:
46
config-file = ${config_helics}
57
% endif
68
% if solver != 'PowerWorldHelics':
7-
publish-endpoint = ${publish_endpoint}
89
server-endpoint = ${server_endpoint}
10+
publish-endpoint = ${publish_endpoint}
911
% endif
1012
% if solver == 'PowerWorld':
1113
noise = normal
@@ -24,4 +26,6 @@ objects-file = /etc/sceptre/objects.txt
2426
% elif solver in ['OpenDSS', 'PyPower']:
2527
case-file = /etc/sceptre/${case_file}
2628
% endif
27-
debug = true
29+
% if solver in ['RTDS', 'OPALRT'] or config_file:
30+
config-file = ${config_file}
31+
% endif

0 commit comments

Comments
 (0)