nikhilgupta10 / GridLAB-D

Other
1 stars 0 forks source link

#717 Output \quiet\ and edirect\ flags may not be operating properly, #2455

Open nikhilgupta10 opened 7 years ago

nikhilgupta10 commented 7 years ago

The --quiet\ command line option appears to do nothing in either v2.3 or v3.0. I'm not sure if it is still supposed to be in there, or if it has been deprecated by the --redirect\ stuff in v3.0.

For the --redirect\, it appears to miss all initial \init-based\ console outputs for warnings (unsure about other output types). I'm not sure if this is by design, or if it is even something that needs to be addressed.

e.g., if the est_IEEE_37node.glm\ from powerflow is ran, the initial warnings are not suppressed or redirected.

,

nikhilgupta10 commented 7 years ago

nikhilgupta10 imported these comments from Sourceforge: The user dchassin does not exist anymore. Therefore assigning this to afisher1. "dchassin":It's not surprising that messages emitted before the --quiet and --redirect arguments are parsed would not be affected by them. The question is obviously how to silence gridlabd's output before they get parsed. The preferred option is to fix the problems that cause these init messages. Another is to add the needed #set and #option settings to gridlabd.conf so that the appropriate defaults are established before parsing of the command line gets too far along loading the GLM file.

Finally, we could consider a special gridlabd control file that is loaded immediately when main() starts to set globals to values other than the defaults. The issue there is that this file would not be subject to file search paths the way others are. Still, it's something to consider for 3.0.

,

"jcfuller": * owner changed from jcfuller to dchassin

As far as I can tell, \quiet\ doesn't work at all, independent of whether the messages are parsed before or after the call. It just plain doesn't do anything. The option should either be fixed to work as designed, or removed if we think it is redundant.

,

"dchassin": * milestone changed from Version 3.0 Stable to Unscheduled ,

"dchassin":- Milestone: Unscheduled --> Version 4.0 RC1 ,