Search found 2 matches

by joshdr83
1 month ago
Forum: Syntax
Topic: string operations in GAMS
Replies: 6
Views: 1402

Re: string operations in GAMS

Hello -- thanks for the replies. I figured it out, if I do the following: $if not set site_number $set site_number 813715 sets t time index /000001*105120/ hour_time(t) time index in hours /000001*008760/ ; parameter s(t) solar capacity factor at timepoint t (5-min data) / $ondelim $include /path_to...
by joshdr83
1 month ago
Forum: Syntax
Topic: string operations in GAMS
Replies: 6
Views: 1402

Re: string operations in GAMS

Is there a way to do this from within the GAMS code itself? For instance I would like to do something like this (does not work): sets t 'time index' /000001*105120/ ; scalar site_number 'site number' /813715/ ; parameter s(t) 'solar capacity factor at timepoint t (5-min data)' / $ondelim $include /p...