process:
  cycle:
  - start
  - pump
  - evaporator
  - expander
  - condenser_sur
  - condenser
  - start
  name: orc
  #type: orc
  time: 36000
  cost_modell: 'Towler Method'
  year: 2024
  #fixed: 
    #evaporator:
      #q_dot: 100000.0
start:
  #calc_type: null
  dt_min: 3.0
  dt_subcool: 0.5
  model: Start
  #phase: liquid
  species:
    cold_storage:
      in: temp_low
      out: temp_low
      p_in: p_low
      p_out: p_low
    working_fluid:
      in: temp_start
      out: temp_start
      p_in: p_low
      p_out: p_low
pump:
  calc_type: const_eta
  #dt_superheat: 1
  eta_s: 0.8
  #fixed: m_dot
  model: FlowDevice
  #power: 1000.0
  name_cost: 'centrifugal pump cs'
  species:
    working_fluid:
      in: start
      out: evaporator
      p_in: p_low
      p_out: p_high
evaporator:
  #area: 1
  calc_type: const
  dt_min: 3.0
  fixed: q_dot
  model: StaticHeatExchanger
  overall_u: 1000
  name_cost: 'Fin-plate heat exchanger Morandin'
  species:
    hot_storage:
      in: temp_high
      out: temp_low
      p_in: p_low
      p_out: p_low
    working_fluid:
      in: pump
      out: expander
      p_in: p_high
      p_out: p_high
expander:
  #calc_type: turbo * RadialTurbine
  calc_type: const_eta
  #dt_superheat: 1
  eta_s: 0.8
  #fixed: m_dot
  model: FlowDevice
  name_cost: 'expander Morandin'
  species:
    working_fluid:
      in: evporator
      out: condenser_sur
      p_in: p_high
      p_out: p_low
condenser_sur:
  #area: 1
  calc_type: const
  dt_min: 3.0
  fixed: q_m_dot_w
  model: StaticHeatExchanger
  overall_u: 1000
  #q_dot: 1000.0
  name_cost: 'Fin-plate heat exchanger Morandin'
  species:
    environment_storage:
      in: temp_low
      out: temp_high
      p_in: p_low
      p_out: p_low
    working_fluid:
      in: expander
      out: condenser
      p_in: p_low
      p_out: p_low
condenser:
  #area: 1
  calc_type: const
  dt_min: 3.0
  fixed: q_m_dot_w
  model: StaticHeatExchanger
  overall_u: 1000
  #q_dot: 1000.0
  name_cost: 'Fin-plate heat exchanger Morandin'
  species:
    cold_storage:
      in: temp_low
      out: temp_high
      p_in: p_low
      p_out: p_low
    working_fluid:
      in: condenser_sur
      out: start
      p_in: p_low
      p_out: p_low
hot_storage:
  #fixed: null
  fractions:
  - 1.0
  p_low: 100000.0
  props: REFPROP
  species: water
  temp_high: 368.150
  temp_low: ambient
cold_storage:
  #fixed: null
  fractions:
  - 1.0
  p_low: 100000.0
  props: REFPROP
  species: Methanol
  temp_high: ambient
  temp_low: 250.0
environment_storage:
  #fixed: null
  fractions:
  - 1.0
  p_low: 100000.0
  props: REFPROP
  species: water
  temp_high: 300.
  temp_low: ambient
working_fluid:
  fractions:
  - 0.2
  - 0.2
  - 0.4
  - 0.2
  optimize: True
  p_high: 1100000
  p_low: 400000
  props: REFPROP
  #setting: initial
  species: pentane * butane * propane * ethane
  #temp_high: 3.94957070e+02
  #temp_low: ambient
#fluids_all:
#  cold_storage: source-sink
#  hot_storage: source-sink
#  environment_storage:: source-sink
#  working_fluid: cycle