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

Update part load heat rates: Input format, Documentation, and Legibility #121

Open
wants to merge 2 commits into
base: next_release
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
GENERATION_PROJECT,gen_loading_level,gen_heat_rate_at_loading_level
S-NG_CC,0.4,2.694069
S-NG_CC,1,6.705
S-NG_GT,0,0.1039
S-NG_GT,1,10.39

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
GENERATION_PROJECT,gen_loading_level,gen_heat_rate_at_loading_level
S-NG_CC,0.4,2.694069
S-NG_CC,1,6.705
S-NG_GT,0,0.1039
S-NG_GT,1,10.39

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
GENERATION_PROJECT,gen_loading_level,gen_heat_rate_at_loading_level
S-NG_CC,0.4,2.694069
S-NG_CC,1,6.705
S-NG_GT,0,0.1039
S-NG_GT,1,10.39

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
GENERATION_PROJECT,gen_loading_level,gen_heat_rate_at_loading_level
S-NG_CC,0.4,2.694069
S-NG_CC,1,6.705
S-NG_GT,0,0.1039
S-NG_GT,1,10.39
405 changes: 226 additions & 179 deletions switch_model/generators/core/commit/fuel_use.py

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions switch_model/generators/core/commit/operate.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,26 @@

"""
Defines model components to describe unit commitment of projects for the
Switch model. This module is mutually exclusive with the
operations.no_commit module which specifies simplified dispatch
constraints. If you want to use this module directly in a list of switch
modules (instead of including the package operations.unitcommit), you will also
need to include the module operations.unitcommit.fuel_use.
Switch model. This module is mutually exclusive with the operations.no_commit
module which specifies simplified dispatch constraints. This module has a
post-requisite of switch_model.generators.core.commit.fuel_use.
"""
from __future__ import division

import os, itertools
from pyomo.environ import *

dependencies = (
'switch_model.timescales', 'switch_model.balancing.load_zones',
'switch_model.financials', 'switch_model.energy_sources.properties.properties',
'switch_model.generators.core.build', 'switch_model.generators.core.dispatch'
'switch_model.timescales',
'switch_model.balancing.load_zones',
'switch_model.financials',
'switch_model.energy_sources.properties.properties',
'switch_model.generators.core.build',
'switch_model.generators.core.dispatch',
)

def define_components(mod):
"""

Adds components to a Pyomo abstract model object to describe
unit commitment for projects. Unless otherwise stated, all power
capacity is specified in units of MW and all sets and parameters
Expand Down