Re: how to persist and instantiate models?
Si Chen <sichen@...>
toggle quoted message Show quoted text
Thanks for getting back to me.
It seems that eemeter.fit_caltrack_usage_per_day_model returns eemeter.CalTRACKUsagePerDayModelResults, which then has eemeter.CalTRACKUsagePerDayCandidateModel as the model. Similarly, eemeter.fit_caltrack_hourly_model returns CalTRACKHourlyModelResults, which has eemeter.CalTRACKHourlyModel.
So in both cases, we should look in the Results and look for the model. Is that correct?
Sure, we'd be happy to make methods to de-serialize the models and contribute them back. Do you have any suggestions on you'd like it done?
BTW if you're interested, this Google doc is a draft of how we're planning to integrate OpenEEMeter into an overall system for M&V and financing. If anybody else is interested, just let me know -- I'm happy to share.
Open SoHellource Strategies, Inc.
opentaps and open source business models
at the VOLTTRON conference: https://youtu.be/2jnyIOBHrkU
On Thu, Oct 31, 2019 at 8:01 PM <ngo.phil@...> wrote: