modelPartialProgressionProblemCore
Extends from TRANSFORM.Icons.Example (Icon for runnable examples).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nC | 1 | |
| Integer | nV | 10 | |
| SI.Length | length | 1.0 | |
| SI.Length | dimension | 0.01 | |
| SI.Temperature | T_start | 20 + 273.15 | |
| SI.Pressure | p_start | 1e5 | |
| SI.Velocity | v | 0.0 | |
| TRANSFORM.Units.InverseTime[nC] | lambda_i | fill(0.1, nC) | |
| SIadd.ExtraPropertyConcentration[nV,nC] | C_i_start | 1000*ones(nV, nC) | |
| SIadd.ExtraPropertyConcentration[nC] | C_i_inlet | zeros(nC) | |
| SI.MassFlowRate | m_flow | Medium.density_pT(p_start, T_start)*Modelica.Constants.pi*dimension^2/4*v | |
| SI.Time[nC] | t_half | {log(2)/lambda_i[i] for i in 1:nC} | |
| SIadd.ExtraProperty[nV,nC] | Cs_start | {{C_i_start[i, j]/Medium.density_pT(p_start, T_start) for j in 1:nC} for i in 1:nV} | |
| SIadd.ExtraProperty[nC] | Cs_inlet | {C_i_inlet[j]/Medium.density_pT(p_start, T_start) for j in 1:nC} | |
| Boolean | use_generation | false | |
| Boolean | use_PtoD | false | |
| Boolean | use_capture | false | |
| Real[nC,nC] | parents | if nC == 4 then {{0.0, 0.0, 0.0, 0.0}, {1.0, 0.0, 0.0, 0.0}, {0.0, 1.0, 0.0, 0.0}, {0.0, 0.0, 1.0, 0.0}} else fill(0, nC, nC) | Matrix of parent sources (sum(column) = 0 or 1) for each fission product 'daughter'. Row is daughter, Column is parent. |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Time | t_residence | if pipe.m_flows[1] < Modelica.Constants.eps then Modelica.Constants.inf else pipe.ms[1]/pipe.m_flows[1] | |
| SIadd.ExtraPropertyConcentration[nV,nC] | C_i | ||
| SIadd.ExtraPropertyFlowRate | mC_gens | {{mC_decay[i, j] + (if use_generation then mC_generation[i, j] else 0) + (if use_PtoD then mC_gens_PtoD[i, j] else 0) + (if use_capture then mC_gens_capture[i, j] else 0) for j in 1:nC} for i in 1:nV} | |
| SIadd.ExtraPropertyFlowRate | mC_decay | {{-lambda_i[j]*pipe.mCs[i, j]*pipe.nParallel for j in 1:nC} for i in 1:nV} | |
| Real | mC_generationShape | {sin(Modelica.Constants.pi*pipe.summary.xpos_norm[i]) for i in 1:nV} | |
| Real | mC_captureShape | {sum({-sin(k*Modelica.Constants.pi*(pipe.summary.xpos_norm[i] + 1))/k for k in 1:100}) for i in 1:nV} | |
| SIadd.ExtraPropertyFlowRate | mC_generation | {{0.0005*mC_generationShape[i] for j in 1:nC} for i in 1:nV} | |
| SIadd.ExtraPropertyFlowRate | mC_gens_PtoD | {{sum({lambda_i[k]*pipe.mCs[i, k]*pipe.nParallel*parents[j, k] for k in 1:nC}) for j in 1:nC} for i in 1:nV} | |
| SIadd.ExtraPropertyFlowRate | mC_gens_capture | {{-0.1*mC_captureShape[i]*pipe.mCs[i, j]*pipe.nParallel for j in 1:nC} for i in 1:nV} | |
| Pipes.GenericPipe_MultiTransferSurface | pipe | ||
| BoundaryConditions.MassFlowSource_T | boundary | ||
| BoundaryConditions.Boundary_pT | boundary1 | ||
| Sensors.TraceSubstancesTwoPort_multi | sensor_C |
Contents
| Name | Description |
|---|---|