Skip to content

Commit

Permalink
Merge pull request #40 from ORNL-Modelica/devel
Browse files Browse the repository at this point in the history
resave as directories
  • Loading branch information
greenwoodms06 authored Nov 13, 2018
2 parents fe04bae + 806de4e commit 1e3b377
Show file tree
Hide file tree
Showing 17 changed files with 18 additions and 70 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
within TRANSFORM.Nuclear.DoseCalculations.Examples;
model AverageSoftTissueDose_C14


Dose_AlphaBetaTissue dose(A=1.2e5/0.05, E_bar=
SIadd.Conversions.Functions.Energy_J.from_MeV(0.0495))
annotation (Placement(transformation(extent={{-10,-10},{10,10}})));
Expand Down
6 changes: 0 additions & 6 deletions TRANSFORM/Units/Conversions/Functions/Activity_Bq/package.mo
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
within TRANSFORM.Units.Conversions.Functions;
package Activity_Bq "Conversions for activity (e.g., bequeral, curies). SI unit is [Bq], i.e., [1/s]"

function to_Bq "Activity: [Bq] -> [Bq]"
extends BaseClasses.to;

algorithm
y := u;
end to_Bq;
end Activity_Bq;
7 changes: 7 additions & 0 deletions TRANSFORM/Units/Conversions/Functions/Activity_Bq/to_Bq.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
within TRANSFORM.Units.Conversions.Functions.Activity_Bq;
function to_Bq "Activity: [Bq] -> [Bq]"
extends BaseClasses.to;

algorithm
y := u;
end to_Bq;

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 2 additions & 0 deletions TRANSFORM/Units/Dose.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
within TRANSFORM.Units;
type Dose = Real (final unit="J/kg", final quantity= "Dose") "Dose [J/kg]";
3 changes: 3 additions & 0 deletions TRANSFORM/Units/DoseRate.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
within TRANSFORM.Units;
type DoseRate =Real (final unit="J/(s.kg)", final quantity= "DoseRate")
"Dose rate [J/(kg.s)]";
3 changes: 3 additions & 0 deletions TRANSFORM/Units/SpecificActivity.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
within TRANSFORM.Units;
type SpecificActivity = Real (final unit="1/(s.kg)", final quantity= "SpecificActivity")
"Specific activity [1/(s.kg)]";
3 changes: 3 additions & 0 deletions TRANSFORM/Units/StoppingPowerParticle.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
within TRANSFORM.Units;
type StoppingPowerParticle =Real (final unit="J/m", final quantity= "StoppingPowerParticle")
"Stopping power for particles [J/m]";
7 changes: 0 additions & 7 deletions TRANSFORM/Units/package.mo
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,7 @@ package Units "Additional models, functions, types, etc. for units"
extends TRANSFORM.Icons.UnitsPackage;


type SpecificActivity = Real (final unit="1/(s.kg)", final quantity= "SpecificActivity")
"Specific activity [1/(s.kg)]";

type Dose = Real (final unit="J/kg", final quantity= "Dose") "Dose [J/kg]";

type DoseRate =Real (final unit="J/(s.kg)", final quantity= "DoseRate")
"Dose rate [J/(kg.s)]";

type StoppingPowerParticle =Real (final unit="J/m", final quantity= "StoppingPowerParticle")
"Stopping power for particles [J/m]";
end Units;

0 comments on commit 1e3b377

Please sign in to comment.