Skip to content
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

Multi Asset Scheduling mysterious issue #1368

Open
victorgarcia98 opened this issue Mar 11, 2025 · 0 comments
Open

Multi Asset Scheduling mysterious issue #1368

victorgarcia98 opened this issue Mar 11, 2025 · 0 comments
Assignees

Comments

@victorgarcia98
Copy link
Contributor

This morning @Flix6x @svenay and myself have been experimenting with the following problem involving the multi asset scheduling:

  • Site capacity: 100kW
  • 100kW/100kWh Battery starting at 0kW
  • Curtailable Solar facility producing a constant power of 250kW (yeah, unrealistic)

The solar assets modeled as a infinitely large battery that can only produce up to 250kW and cannot consume. The battery is not enough so we expect the optimization to curtail the solar to respect the site power capacity.

We tried without relaxing the site capacity constraints and it didn't work. The thing gets interesting when we relax the site capacity the constraints adding site-consumption-breach-price and site-production-breach-price to the flex-context and the schedules become feasible (and the results make sense).

Image

The accompanying flex-model/context are:

flex_model = [
    {
        "sensor": sensors["Test Battery"].id,
        "consumption-capacity": "100kW",
        "production-capacity": "100kW",
        "power-capacity": "100kW",
        "soc-at-start": 0.0,  # 100 kWh
        "soc-unit": "MWh",
        "soc-min": 0.0,
        "soc-max": 0.1,  # 100 kWh
    },
    {
        "sensor": sensors["Test Solar"].id,
        "consumption-capacity": "0kW",
        "production-capacity": "250kW",
        "power-capacity": "1000kW",
        "soc-at-start": 10000,  # 100 kWh
        "soc-unit": "MWh",
        "soc-min": -100000,
        "soc-max": 100000,  # 100 kWh
    }
]
flex_context = {
    "consumption-price": {"sensor" : price_sensor.id},
    "production-price":  {"sensor" : price_sensor.id},
    "site-production-capacity": "100kW",
    "site-consumption-capacity": "100kW",
    "site-consumption-breach-price" : "100 EUR/MW",
    "site-production-breach-price" : "100 EUR/MW"
}
@Flix6x Flix6x changed the title Multi Asset Scheduling misterious issue Multi Asset Scheduling mysterious issue Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants