pyenergyplus / eppy3000

E+ Scripting Language using the epJSON file format
Mozilla Public License 2.0
7 stars 3 forks source link

Develop API for different options of dealing with EPSchema #110

Open santoshphilip opened 3 months ago

santoshphilip commented 3 months ago

We have

idf = IDF( .... )

With many possibilities for how to read the EPSchema. Consider writing different functions for each of them:

Where is the dbm

when/how is the dbm created

list new issues coming from this issue

santoshphilip commented 3 months ago

possible design. The options below are mutually exclusive. You can pick any one of them

Consider opening without EpSchema. Add EPSchema later.

santoshphilip commented 3 months ago

notes on with dbm steps:

santoshphilip commented 3 months ago

make branch i110_EPSchema

use that as a base branch as you develop parts of this issue - expanded into smaller issues

santoshphilip commented 2 months ago

opened issue #111

write EPJ_Simple(epjname, dbm_cache=True)

santoshphilip commented 2 months ago

closed issue #111

EPJ_Simple(epjname, dbm_cache=True)

santoshphilip commented 2 months ago

try to write an in memory dbm.

Things to keep in mind:

santoshphilip commented 1 month ago

hold off on the in-memory dbm.

Devlop a debug log for the cache - to make sure that it is working correctly

write to log on following events:

The cahce is a dict or an Munch. add the log to __setattr__ and __ getattr__

make a branch from the closed issue #111