• 158 views | 3 messages Discussion: LEAP
    Topic: Problem with the electricity importsSubscribe | Previous | Next
  • Iñigo Muñoz 12/21/2017

    Hi,


    I'm trying to simulate a city's energy transformation system. In "Transformation" I've first defined an "Electric generation" module (with PV, Hydro, biogas and oil plants) and a "District Heating" module (with three CHP plants and just below the "Electric generation" module in the tree) which generates electricity as output fuel and heat as coproduct. For the electricity generated as output fuel in my first module I've choose the "RequirementsUnmet" option in "Shortfall Rule" as I want my system not to import the electricity in case of shortfall, but to cover it with my plants defined in the "District Heating" module, as the electric generation plants can't meet all the electric demand by themselves.




    However, all the generated electricity in the District Heating is exported, and as a result, LEAP imports electricity to meet the electric demand. The "Usage Rule" in the "District Heating Module" is defined as "DomesticPriortity", so I don't know why LEAP exports all the electricity produced in these plants.




    Also in the first simulation year, any of the CHP plants seems to work, and as a result most of the electricity is imported.



    The type of data included in the "Transformation Module Properties" for both modules is the plants' capacities (and the coproduct "Heat" for the "District Heating" module).
    The defined "Dispatch Rule" for all the plants is "ProportionalToCapacity".






    Thanks in advance,






    Iñigo


    EDIT: I attach my Leap model file.




    base_year.PNG
    first_simulation_year.PNG
    Attachments:  Helsinki.leap [5]
  • Taylor Binnington 1/9/2018
      Best Response

    Hi Inigo -

    Sorry for the wait. The Surplus Rule assigned to the output fuel of your Electricity Generation module is not a term that LEAP understands. You had used "RequirementsUnmet", when the correct suplus rule is "RequirementsRemainUnmet" (you can select this by clicking the orange "E" on the right side of the expression box). However, I'm not sure why LEAP didn't flag this for you (for example, using red italicized text), so we'll look into that.

    This should fix both issues.

    Hope this helps,
    Taylor

  • Iñigo Muñoz 1/9/2018
      Best Response

    Hi Taylor,

    Thank you very much for your help! Now the model works as it should.

    As you said, LEAP didn't notify that term error. Hope you can solve the problem.

    Best regards