-
Notifications
You must be signed in to change notification settings - Fork 0
/
FigureCaption_Conduction.m
58 lines (55 loc) · 2.8 KB
/
FigureCaption_Conduction.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
function [caption, title] = FigureCaption_Conduction(Ztype, fluid, legendLines, year, WACC, F_OM)
if (strcmp(Ztype,'Power'))
if (strcmp(fluid,'CO2'))
title = {'Power Generated for Conduction CO_{2} Geothermal Systems',' per Injection-Production Well Pair [kW_{e}]'};
elseif (strcmp(fluid,'Water'))
title = {'Power Generated for Conduction Water Geothermal Systems',' per Injection-Production Well Pair [kW_{e}]'};
elseif (strcmp(fluid,'CO2&Water'))
title = {'Power Generated for Conduction CO_{2} and Water Geothermal Systems',' per Injection-Production Well Pair [kW_{e}]'};
end
caption = {'{\bfProperties}'...
,'35 °C/km Temp Gradient'...
,'15 °C Surface Temp'...
,'41 cm Well Diameter'...
,'Four Horizontal Laterals'...
,'Massflow to Minimize Cost'...
,strcat(['Year-' num2str(year) ' Depletion Values'])...
,'Adams|Saar, ETH-Zürich (geg.ethz.ch)'};
elseif (contains(Ztype,'SpCC'))
if (contains(fluid,'CO2'))
title = 'Specific Capital Cost for Conduction CO_{2} Geothermal Systems [$/kW_{e}]';
elseif (strcmp(fluid,'Water'))
title = 'Specific Capital Cost for Conduction Water Geothermal Systems [$/kW_{e}]';
elseif (strcmp(fluid,'CO2&Water'))
title = 'Specific Capital Cost for Conduction CO_{2} and Water Geothermal Systems [$/kW_{e}]';
end
caption = {'{\bfProperties}'...
,'35 °C/km Temp Gradient'...
,'15 °C Surface Temp'...
,'41 cm Well Diameter'...
,'Four Horizontal Laterals'...
,'Massflow to Minimize Cost'...
,strcat(['Year-' num2str(year) ' Depletion Values'])...
,'Adams|Saar, ETH-Zürich (geg.ethz.ch)'};
elseif (contains(Ztype,'LCOE'))
if (contains(fluid,'CO2'))
title = 'LCOE for Conduction CO_{2} Geothermal Systems [$/(MW_{e}-h)]';
elseif (strcmp(fluid,'Water'))
title = 'LCOE for Conduction Water Geothermal Systems [$/(MW_{e}-h)]';
elseif (strcmp(fluid,'CO2&Water'))
title = 'LCOE for Conduction CO_{2} and Water Geothermal Systems [$/(MW_{e}-h)]';
end
caption = {'{\bfProperties}'...
,'35 °C/km Temp Gradient'...
,'15 °C Surface Temp'...
,'41 cm Well Diameter'...
,'Four Horizontal Laterals'...
,'Massflow to Minimize Cost'...
,strcat([ num2str(WACC) '% WACC, 25-year Lifetime, ' num2str(F_OM) '% O&M'])...
,strcat(['Year-' num2str(year) ' Depletion Values'])...
,'Adams|Saar, ETH-Zürich (geg.ethz.ch)'};
end
if (~isempty(legendLines))
caption = vertcat(caption{1:4},legendLines(:),caption{5:end});
end
end