generated from arras-energy/gridlabd-old
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add location tool #277
Merged
dchassin
merged 21 commits into
arras-energy:develop
from
dchassin:develop-add-tool-location
Jan 16, 2025
Merged
Add location tool #277
dchassin
merged 21 commits into
arras-energy:develop
from
dchassin:develop-add-tool-location
Jan 16, 2025
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: David P. Chassin <david.chassin@me.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Syntax:
gridlabd location [OPTIONS ...] [FILENAME=KEY[:VALUE][,...] ...]
Options:
--debug
: enable debug traceback on exception--find[=KEY[:VALUE][,...]]
: get location settings`--format=FORMAT[,OPTION[:VALUE[,...]]]
--quiet
: suppress error messages--silent
: suppress all error messages--system[=KEY[:VALUE][,...]]
: get/set the default location--verbose
: enable verbose output, if any--warning
: suppress warning messagesDescription:
The
location
tool allows configuration of the location of a model.The
location
tool--system
option is used to setup the system's defaultlocation for models when not location data is not specified in the model.
When values are change, the location data is returned and the new location
is stored in `GLD_ETC/location_config.glm
The
location
tool--find
options can identify the current location of asystem or a location based on partial information.
Location setting on
FILENAME
will be performed in place, i.e., the file willfirst be read and the it will be written with the new values. The result
output to stdout will be the previous values.
The keys and globals handled by the
location
tools include the following:latitude
: the location's latitudelongitude
: the location's longitudenumber
: the location's street number, if anystreet
: the location's street namezipcode
: the location's postal codecity
: the location's citycounty
: the location's countystate
: the location's stateregion
: the location's regioncountry
: the location's countryExamples:
Get the current location
Display the default location
Set the location in a model file