Search found 6 matches

by jason_s
5 years ago
Forum: GAMS MIRO
Topic: Is it possible to pass on miro input to a $call command?
Replies: 2
Views: 8826

Re: Is it possible to pass on miro input to a $call command?

Hey Freddy,

thank you and sorry, I knew that I read something about the compilation phase a while a go and for what ever reason I did not check the configuration documentation again :roll:

Jason
by jason_s
5 years ago
Forum: GAMS MIRO
Topic: Is it possible to pass on miro input to a $call command?
Replies: 2
Views: 8826

Is it possible to pass on miro input to a $call command?

Hi, is there a way to enter some input data in miro and use this input data as an argument in a $call command? Following code will run just fine, but my argument will be in every case '1' no matter what I set as input(2,3,...). Scalar $onExternalInput Input 'Input Data' / 1 / $offExternalInput ; $ev...
by jason_s
5 years ago
Forum: Syntax
Topic: Manipulatiing parameters - Assignment problem due to different dimension
Replies: 6
Views: 5364

Re: Manipulatiing parameters - Assignment problem due to different dimension

Alright thanks again for the clarification. I get it now. I had the put_utility command and the put command not differentiated, for me both fell under the category put_utility.
Best regards,
Jason
by jason_s
5 years ago
Forum: Syntax
Topic: Manipulatiing parameters - Assignment problem due to different dimension
Replies: 6
Views: 5364

Re: Manipulatiing parameters - Assignment problem due to different dimension

Fred, you are awesome. Thank you so much for your detailed answer!! I used the put ultility and I got it working :-) Not that important, but did you use this put_utility 'exec' / 'csv2gdx station' f.tl:0 '.txt output=station' f.tl:0 '.gdx id=speed fieldSep=semiColon index=1,2,3,5 useHeader=y storeZe...
by jason_s
5 years ago
Forum: Syntax
Topic: Manipulatiing parameters - Assignment problem due to different dimension
Replies: 6
Views: 5364

Re: Manipulatiing parameters - Assignment problem due to different dimension

Hi Fred, thank you very much for your reply. Your code example did what I wanted, thanks! I never would have guessed. There is not an easier solution to such a problem? I don't mean that in a bad way, I'm just curious, because I thought you can solve it with a simple assignment also with the ulterio...
by jason_s
5 years ago
Forum: Syntax
Topic: Manipulatiing parameters - Assignment problem due to different dimension
Replies: 6
Views: 5364

Manipulatiing parameters - Assignment problem due to different dimension

Hi, I'm having trouble assigning values. For example I have several files and every file represents a sation which meassures windspeed. These files look like this: Station;Date;Time; SP 34;2017-09-12;0000; 2.5 34;2017-09-12;0010; 6.1 34;2017-09-12;0020; 3.0 ... Then I have other files where power is...