tt-acm / EnergyAnalysisForDynamo

Dynamo <> Autodesk Green Building Studio interoperability
Other
29 stars 18 forks source link

Building Run Results node #1

Closed bhowes-tt closed 10 years ago

bhowes-tt commented 10 years ago

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

mostaphaRoudsari commented 10 years ago

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 commented 10 years ago

@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.

eertugrul commented 10 years ago

@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 commented 10 years ago

image

eertugrul commented 10 years ago

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 commented 10 years ago

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 commented 10 years ago

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 commented 10 years ago

@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 commented 10 years ago

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

eertugrul commented 10 years ago

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

image

eertugrul commented 10 years ago

Closing this one! Refer to #24 & #25

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

eertugrul commented 10 years ago

latest status of Results Nodes:

image