-
Notifications
You must be signed in to change notification settings - Fork 55
Description
Hi,
I am doing a stock-driven model for batteries "b" (8 types) but I am struggling to assign the element content "e" (9 elements) for the inflows and outflows afterwards.
I am able to calculate the model and also assign a vehicle "g" (6 types) market share afterwards. Then the outflow (t,g,b) looks as followed (inflow looks the same). The unit is number of batteries/vehicles.


Now I want to assign the element content to the flows depending on battery type and vehicle type. My parameter file is a list with the data structure "bge" and "kg" as a unit. However, after assign it, the total number of batteries (in this case shown for the inflow) rises as well:

I feel like this has something to do with my array Einstein sum of the matrixes, but cannot figure it out. This is my code and I would be thankful if you could help me out.
