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

Miqcp #277

Merged
merged 134 commits into from
Apr 29, 2020
Merged

Miqcp #277

merged 134 commits into from
Apr 29, 2020

Conversation

TDiaconu
Copy link

These are the new mixed-integer constraints for urbs (the on/off feature with start-ups, new capacity blocks) and the improvements made to the part load behavior.

Added modes for on/off and minimum working load processes (and potentially also for combined heat and power)
Added cost type 'Start-up'.
Added onoff_dict and start_price_dict (when onoff mode is active). 
Made min_fraction_dict, r_in_min_fraction and r_out_min_fraction active only if the minfraction mode is active. 
Added cap_block_dict - for the expansion blocks of processes
Added tra_block_dict (when tra mode is active), sto_block_c and sto_block_p  when sto is active - for the expansion blocks of transmission and storage
Added pro_cap_new_block_tuples
Replaced pro_maxgrad_tuples and the related constraints with pro_rampupgrad_tuples and pro_rampdowngrad_tuples and their respective constraints
Added the variable cap_unit for processes expansion
Replaced add_time_variable_efficiency with add_advanced_processes (for tve, onoff and minfraction (and chp))
Eliminated pro_partial_tuples and their respective constraints and put them in AdvancedProcesses.py
Added the def_new_capacity_units constraint for the expansion of processes with expansion blocks
Added the 'Start-up' costs rule
Throughput also gets in the result excel file
Same as in output.py -> throughput gets exported into excel
Same as in output.py -> the throughput gets exported to the result excel file
Deactivated the saving of the solution as an HDF5 format (duality problem for the investment costs since adding the on/off option)
Added sto_block_c_tuples and sto_block_p_tuples
Added cap_sto_c_unit and cap_sto_câp_unit variables
Added def_new_cap_sto_c and def_new_cap_sto_p constraints
Added tra_block_tuples
Added cap_unit_tra variables (two times)
Added def_cap_tra_new constraint (two times, rule only once)
Replaced TimeVarEff with AdvancedProcesses
Changed name
Replaced add_time_variable_efficiency with add_advanced_processes
Modules:
I. tve: same as before + the adapted constraints from onoff

II. onoff: 
    Tuples: pro_on_off_tuples (with input and output), pro_partial_on_off_tuples (with input and output), pro_rampup_start_tuples (for a defined start-time), pro_rampup_divides_minfraction_output_tuples, pro_rampup_not_divides_minfraction_output_tuples, pro_rampup_bigger_minfraction_output_tuples (the three cases for output ramp up), pro_start_up_tuples (for start-up costs).

    Variables: on_off, start_up 

    Constraints: res_throughput_by_on_off_lower, res_throughput_by_on_off_upper (for linking tau and on_off), def_process_on_off_input, def_process_on_off_output, def_partial_process_on_off_input, def_partial_process_on_off_output, res_starting_rampup (for start ramp), res_output_minfraction_rampup + partial equivalent, res_output_minfraction_rampup_rampup + partial equivalent, res_output_rampup + partial equivalent (the three cases for output ramp-up), res_start_ups (for registering a start-up)

III. minfraction:

Tuples: pro_minfraction_tuples (with output), pro_partial_tuples (with input and output) (all moved from model.py)

Constraints: res_throughput_by_capacity_min, def_partial_process_input, def_partial_process_output (all moved from model.py)

(IV. CHP)
Replaced  maxgrad with ramp up, ramp down and start ramp
Replaced max-grad with ramp-up-grad and ramp-down-grad and added starting-time
Added start-price and cap-block
Added capacity blocks for storage and transmission.
Moved process start price from technical parameters
Moved process start price to economic parameters
Start up costs, omicron (on_off), no description
Added documentation for omicron and start-ups
Replaced pro_maxgrad_tuples with pro_rampupgrad_tuples, pro_rampdown_tuples and pro_rampup_start_tuples.
Added the documentation for pro_tuples subtypes (pro_minfraction_tuples, pro_partial_tuples, pro_on_off_tuples, pro_on_off_tuples, pro_partial_on_off_tuples.
Added outputs: still need to do the description for output rampup
Added documentation for the output ramping tuples
Forgot spaces and points
Added documentation for inputs
Added tra_block_tuples with description
Added capacity and power block tuples for storage with description
Added units for new capacities for processes, transmission and storage. To add description!!
Added def_cap_tra_new with definition
@sonercandas sonercandas changed the base branch from master to MIQCP April 29, 2020 16:57
@sonercandas sonercandas merged commit c26cf30 into tum-ens:MIQCP Apr 29, 2020
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

Successfully merging this pull request may close these issues.

2 participants