-
Notifications
You must be signed in to change notification settings - Fork 36
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
Capacity of factored-customer INDIVIDUAL models are incorrectly scaled #1127
Comments
The scaling happens in |
This appears to be an error. If we look at FrostyStorage.xml, we see that the |
It's more complicated. FrostyStorage has a single But these naming conventions are also hard-coded:
So the names of CaacityBundles and CapacityStructures have to match in propoerties.xml, in the code, and in the individual config filenames. Ouch! Why not just include an index in the xml and an obvious interpretation (or perhaps an indexed array) in the code? It appears that the 90 WindmillCoop instances are supposed to be treated individually in terms of subscribing to tariffs and computing capacity. Do we gain anything by this individual treatment? Is the sum of 5 draws from a single distribution different from a single draw multiplied by 5? |
The best solution might be to remove the "individual" models from factored-customer and re-implement them as simulation models rather than as statistical models. Good examples are the ColdStorage and LiftTruck models in the customer-models module. |
DefaultUtilityOptimizer.useCapacity()
is invoked in each timeslot to compute consumption. ForINDIVIDUAL
models like Frosty Storage that include multiple individuals, capacity is computed per-subscription (since the individuals may be subscribed to different tariffs) and then scaled by the number of individuals. This appears to ignore the fact that capacity usage could vary across subscriptions, depending on tariff terms for example.The text was updated successfully, but these errors were encountered: