pinch_analyzer
- class pyheatintegration.pinch_analyzer.PinchAnalyzer(streams_: list[pyheatintegration.streams.streams.Stream], minimum_approach_temp_diff: float, force_validation: bool = True)
流体のリストと最小接近温度差を設定し、グランドコンポジットカーブおよびTQ線図を作成します。
解析を行う場合はこのクラス経由で扱います。このクラスを経由することで、流体のidが重複してい ないことや、最小接近温度差が指定可能な値であるかを検証したのちに図を作成するため、予想外の エラーが生じることを回避することができます。
- パラメータ
streams (list[Stream]) -- 流体のリスト。
minimum_approach_temp_diff (float) -- 最小接近温度差 [℃]。
force_validation (bool) -- 与熱流体と受熱流体の最高温度と最低温度の関係の検証を強制するか。
- gcc
グランドコンポジットカーブ。
- Type
- minimum_approach_temp_diff_range
最小接近温度差の指定可能範囲。
- Type
TemperatureRange
- pinch_point_temp
ピンチポイントの温度 [℃]。
- Type
float
- heat_exchangers
熱交換器のリスト。
- Type
list[HeatExchanger]
- external_heating_demand
必要加熱量[W]。
- Type
float
- external_cooling_demand
必要冷却熱量[W]。
- Type
float
- 例外
ValueError -- 流体のidが重複している場合。また、最小接近温度差の値が不正な場合。
RuntimeError -- 受熱流体、与熱流体が一つも指定されていない場合。
- create_grand_composite_curve() tuple[list[float], list[float]]
グランドコンポジットカーブを描くために必要な熱量と温度を返します。
- create_tq() tuple[list[tuple[tuple[float, float], tuple[float, float]]], list[tuple[tuple[float, float], tuple[float, float]]]]
tq線図をを描くために必要な与熱複合線および受熱複合線を返します。
- create_tq_merged() tuple[list[tuple[tuple[float, float], tuple[float, float]]], list[tuple[tuple[float, float], tuple[float, float]]]]
結合可能な熱交換器を結合したtq線図をを描くために必要な与熱複合線および受熱複合線を返します。
- create_tq_separated() tuple[list[tuple[tuple[float, float], tuple[float, float]]], list[tuple[tuple[float, float], tuple[float, float]]]]
流体ごとに分割したtq線図をを描くために必要な与熱複合線および受熱複合線を返します。
- create_tq_split() tuple[list[tuple[tuple[float, float], tuple[float, float]]], list[tuple[tuple[float, float], tuple[float, float]]]]
流体ごとに分割し、最小接近温度差の条件を満たしたtq線図をを描くために必要な与熱複合線および受熱複合線を返します。
- get_heat_exchanger_cost(ignore_unknown: bool = True) float
- static validate_streams(streams: list[pyheatintegration.streams.streams.Stream], ignore_validation: bool = False) str
- pyheatintegration.pinch_analyzer.calculate_heat_exchanger_cost(area: float, reboiler_or_reactor: bool = False) float
熱交換器にかかるコストを返します。
- パラメータ
area (float) -- 熱交換器の面積。
k (float) -- 係数。リボイラーまたは反応器の場合は2
- 戻り値
コスト[円]。
- 戻り値の型
float