objectives
OBJECTIVE_NAMES = {1: 'Plasma major radius', 3: 'neutron wall load', 4: 'total TF + PF coil power', 5: 'ratio fusion power:injection power', 6: 'cost of electricity', 7: 'constructed cost', 8: 'aspect ratio', 9: 'divertor heat load', 10: 'toroidal field on axis', 11: 'injection power', 14: 'pulse length', 15: 'plant availability factor', 16: 'Major radius/burn time', 17: 'net electrical output', 18: 'NULL', 19: 'Major radius/burn time'}
module-attribute
objective_function(minmax)
Calculate the specified objective function
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
minimax
|
int
|
the ID and sign of the figure of merit to evaluate. A negative value indicates maximisation. A positive value indicates minimisation. * 1: Major radius * 3: Neutron wall load * 4: TF coil + PF coil power * 5: Fusion gain * 6: Cost of electricity * 7: Direct/constructed/capital cost * 8: Aspect ratio * 9: Divertor heat load * 10: Toroidal field on axis * 11: Injected power * 14: Pulse length * 15: Plant availability * 16: Major radius/burn time * 17: Net electrical output * 18: NULL, f(x) = 1 * 19: Major radius/burn time |
required |
Source code in process/core/solver/objectives.py
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 | |