Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

config csv2glm converter only works inside the GLM #1258

Closed
aivanova5 opened this issue Mar 15, 2023 · 1 comment
Closed

config csv2glm converter only works inside the GLM #1258

aivanova5 opened this issue Mar 15, 2023 · 1 comment
Assignees
Labels
bug Request a fix or change to the code wontfix Tag issue as no-action (see remarks for explanation)

Comments

@aivanova5
Copy link
Collaborator

Problem description

Using file: config.csv as below:

WEATHER,CA-San_Jose_Intl_Ap.tmy3
NHOUSES_ELEC,1
NHOUSES_GAS,0
TIMEZONE,PST+8PDT
YEAR,2023
MONTH,7
HEATINGSYSTEMTYPE,HEAT_PUMP
COOLINGSYSTEMTYPE,HEAT_PUMP
HEATINGSETPOINT,70
COOLINGSETPOINT,75
THERMALINTEGRITYLEVEL,GOOD
GASENDUSES,WATERHEATER|DRYER|RANGE

gridlabd config.csv -f config -t config generates and error:

aivanovalocal@PC99458 input_3 % gridlabd config.csv -f config -t config
ERROR    [csv2glm]: missing input data type
ERROR    [INIT] : GldMain::subcommand(format='%s %s -i %s -o %s %s',...): command '/usr/local/opt/gridlabd/current/bin/python3 /usr/local/opt/gridlabd/4.3.1-230310-develop-Darwin-x86_64/share/gridlabd/csv2glm.py -i config.csv -o config.glm ' returns code 1
ERROR    [INIT] : /usr/local/opt/gridlabd/4.3.1-230310-develop-Darwin-x86_64/share/gridlabd/csv2glm.py: return code 1
ERROR    [INIT] : command line option '-f' is not recognized
ERROR    [INIT] : 'config' is not valid
ERROR    [INIT] : unable to load '/usr/local/opt/gridlabd/4.3.1-230310-develop-Darwin-x86_64/share/gridlabd/template/US/CA/SLAC/config/config.glm': No such file or directory
FATAL    [INIT] : shutdown after command line rejected

Note, using #input macro has no issues with the conversion as below:

#input "config.csv" -f "config" -t "config"

System information

  • GridLAB-D version:4.3.1-230310-develop-Darwin-x86_64
  • Operating system: Problem aligns with Docker and Darwin
@aivanova5 aivanova5 added the bug Request a fix or change to the code label Mar 15, 2023
@dchassin dchassin added this to the HiPAS 4.3 Final Release milestone Apr 15, 2023
@dchassin dchassin added the wontfix Tag issue as no-action (see remarks for explanation) label Sep 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Request a fix or change to the code wontfix Tag issue as no-action (see remarks for explanation)
Projects
None yet
Development

No branches or pull requests

2 participants