Skip to content
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

Building Run Results node #1

Closed
bhowes-tt opened this issue Sep 2, 2014 · 12 comments
Closed

Building Run Results node #1

bhowes-tt opened this issue Sep 2, 2014 · 12 comments
Assignees

Comments

@bhowes-tt
Copy link
Member

Pull monthly data for a run, and output numeric results to user.

@mostaphaRoudsari
Copy link
Collaborator

What we have currently output runSummary which we should break it down as much as possible.
@eertugrul @bhowes-tt I will be happy to take care of this one.
getrunsummaryresults

@eertugrul
Copy link
Member

@mostaphaRoudsari If you like go for it, my suggestion is that make a call to GetRunSummaryResultsUri and also GetRunResultsUri's and check the json file and what it returns before parsing.

@bhowes-tt bhowes-tt modified the milestone: Closed Alpha, Open Repo Sep 4, 2014
@eertugrul
Copy link
Member

@bhowes-tt & @mostaphaRoudsari I am getting "The remote server returned an error: (404) Not Found. " while sending request to GetRunResultUri.

Ask GBS team whether the GBS can have new GetRunResultUri API for the result types per our discussion. This would be a good the signature for the Uri for getting results.

GetRunResultsUri = @"/v1/run/results/{0}/{1}/{2}"; // 0 = runId, 1 = altRunId, 2=response format (gbxml || doe2 || inp || idf) ***

*** @mostaphaRoudsari review the type of files u want the user is able to download from dynamo node. The node needs an input to identify the "type" of analysis result to download.

eertugrul added a commit that referenced this issue Sep 5, 2014
Block out the signature Uri for get analysis results, new example added
@eertugrul
Copy link
Member

image

@eertugrul
Copy link
Member

Results Node One :

Get EnergyandCarbonResults (we can rename the node)
inputs: RunID, AltRundID
outputs:
Results object (to be parsed with specific nodes such as Energy Carbon Cost Summary
Building Type
Location
Floor Area
Building Summary ( number of people, ave lighting power densisty etc

image

@eertugrul
Copy link
Member

Results Node Two:

Get Energy Carbon Cost Summary:
Input : Results
Outputs:
Annual Energy Cost ( I need to find out how to get Currency)
Lifecycle Cost
CO2 Emissions: break down : Electric, Onsite, Large SUV
Annual Energy : break down : EUI, Electric, Fuel, Peak demand
LifeCycle Energy : break down : Electric, Fuel

image

@mostaphaRoudsari do you prefer the breakdown info as an item of a list ?

@eertugrul
Copy link
Member

Results Node Three:

GetCarbonNeutralPotential

Input : Results
Outputs:
Units
Run CO2 Emission
OnSite Rewewable Potential
Natural Ventilation Potential
Onsite Biofuel use
net CO2 Emission
New Large SUV Equivalent

image

@mostaphaRoudsari
Copy link
Collaborator

@eertugrul well done!

@mostaphaRoudsari do you prefer the breakdown info as an item of a list ?

I think it looks better as it is now. The only change I would make is to return a list of strings instead of a single string so the user can select the one s/he wants based on list item.

For GBSConnection.GetCarbonNeutralPotential I think the Units up there is confusing as the last one has a different unit. Maybe we should just add the unit at the end of all the outputs. My only concern is that it will be much nicer to have the numbers output as float/double and not string!

I remember that we discussed adding the units to tooltips, but then we need to have dynamic tooltip for SI against IP.

@eertugrul
Copy link
Member

each result output should be a list - first item is the value, second item is the unit

@eertugrul
Copy link
Member

Results Node Three
Input : Results
Outputs:
Fossil
Nuclear
Hydroelectric
Renewable
Other

image

eertugrul added a commit that referenced this issue Sep 10, 2014
eertugrul added a commit that referenced this issue Sep 10, 2014
eertugrul added a commit that referenced this issue Sep 12, 2014
Not implemented to API yet by GBS !
@eertugrul
Copy link
Member

Closing this one! Refer to #24 & #25

these nodes below utilize and parse the info of GetRunSummary API call response.
image

@eertugrul
Copy link
Member

latest status of Results Nodes:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants