Git Product home page Git Product logo

energy-calc's People

Contributors

dependabot[bot] avatar sin avatar

Stargazers

 avatar

Watchers

 avatar  avatar

energy-calc's Issues

Tips and warnings

tylko dodałbym duże czerwony komunikaty typu "braki energii w nocy!", "brak rzek w Polsce na których można zbudować elektrownię wodną dającą 5000 MW (uwaga! elektrownia wodna we Włocławku na Wiśle produkuje 160,2 MW)".

Coal is never supplanted by regulating power surplus

  • coal plants are the only one that always work with full power the coal profile is now same as nuclear's
  • Regulating powers never displace more carbon intensive sources from baseload, only fill the gap between baseload and demand

coal: [
2.60027483362602e-12,
-4.21522717629026e-10,
8.43915935489853e-9,
8.25183318068457e-7,
-1.04055498388049e-5,
-0.00395592006246061
],

const baseload = Math.min(demand, nuclear + chp + coal)
const regulating1 = demand - baseload
const regulating2 = calculateRegulatingPowerDemand(nonRegulatingPowers, demand, averageDemand)
const regulatingDemand = Math.min(regulating1, regulating2)
const [hydroAvailable, gasAvailable, oilAvailable] = REGULATING.map(
powerType => installed[powerType] * MAX_POWERS[powerType]
)
const hydro = Math.min(regulatingDemand, hydroAvailable)
const gas = Math.min(regulatingDemand - hydro, gasAvailable)
const oil = Math.min(regulatingDemand - hydro - gas, oilAvailable)
const regulating = hydro + oil + gas
const nonRegulating = nuclear + chp + coal + wind + solar

Proposed changes

If there's low carbon regulating power surplus:

  • decrease coal (high emissions and margin cost)
  • increase gas

If baseload sources exceed demand:

  • first decrease RE (zero margin cost)
  • then decrease nuclear (not load-following, zero margin cost)
  • then decrease CHP (needed for heating)

Add modal windows

  • can be closed with X or click outside
  • scrollable
  • displays child components

Add presets

  • User can choose between a few predefined presets.
  • Need some preset ideas.

Add info icons

  • should open modal window on click or/and display tooltip on hover

Modals #3
Tooltips #4

Regulating power (gas and oil) don't increase CO2 emissions, fuel consumption and waste

fuelTable is generated before adding regulating power to the mix.

const [fuelTable, ...wasteSummary] = createFuelTable(energyTable)
const gasPower = (installedPowers.gas * CAPACITY_FACTORS.gas) / 100
const oilPower = (installedPowers.oil * CAPACITY_FACTORS.oil) / 100
const gasAvailable = powerToEnergy(gasPower)
const oilAvailable = powerToEnergy(oilPower)
const gasTime = Math.min(1, -energyBalance / gasAvailable)
const gasDemand = powerToEnergy(gasTime * gasPower)
const oilTime = Math.min(1, (-energyBalance - gasDemand) / oilAvailable)
const oilDemand = powerToEnergy((oilTime * installedPowers.oil * CAPACITY_FACTORS.oil) / 100)
const regulating = gasDemand + oilDemand
const { adjustedEnergyTable } = createAdjustedEnergyTable(adjustedPowerTable, hydro, regulating)

Create copy

Texts needed for:

  • Energy sources:

    • short description
    • environmental impacts
    • currently installed power
    • simulation assumptions
  • Sources:

      • nuclear
      • hydro
      • wind
      • colar
      • CHP (combined heat and power) from biomass*
      • coal
      • gas
      • oil
      • batteries ❓
      • pumped-storage ❓
      • P2G ❓
  • Environmental impacts:

      • CO2 emissions
      • solid waste (ashes)
      • nuclear waste
      • biofuel area
      • wind turbines
      • PV area
      • dammed rivers ❓
      • steel, cement, REE used❓
      • water intake and consumption ❓
  • Other:

      • installed power
      • available power
      • installed / available ratio
      • FAQ
      • tooltips ❓
  • Legend:

      • done
      • todo
    • ❓optional

#3
#4

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.