tum-ens / urbs

A linear optimisation model for distributed energy systems
GNU General Public License v3.0
185 stars 132 forks source link

Trading with (only one) external market #266

Open TDiaconu opened 4 years ago

TDiaconu commented 4 years ago

Although from the urbs documentation it is understandable that trading with more than one external market can be simulated, trying this does not work.

While trying to simulate trading with more markets, urbs checked if import capacities from market A, B, C etc. and export capacities to A, B, C etc. are equal. Without an explicit coupling of imports and exports, this checking was done between import from A and export to A, B, C etc.

As a result, urbs built export and import capacities only for market A. In the case that the import/export capacities are already built, the optimizer declares the problem infeasible/unbounded.

lodersky commented 4 years ago

I will have a look into it.

@TDiaconu: How did you realize the multiple external markets? Could you share your input file?

TDiaconu commented 4 years ago

Sure, I've sent you a link to it per email.