---
search:
boost: 10.0
---
# Class: MassQuantity
_A quantity representing mass._
URI: [https://CCPBioSim.ac.uk/biosim-schema/MassQuantity](https://CCPBioSim.ac.uk/biosim-schema/MassQuantity)
```{mermaid}
classDiagram
class MassQuantity
click MassQuantity href "../../classes/MassQuantity/"
MassQuantity : value
MassQuantity : value_unit
MassQuantity --> "0..1" MassUnit : value_unit
click MassUnit href "../../enums/MassUnit/"
```
## Slots
| Name | Cardinality and Range | Description | Inheritance |
| --- | --- | --- | --- |
| [value](../slots/value.md) | 0..1
[float](../types/float.md) | | direct |
| [value_unit](../slots/value_unit.md) | 0..1
[MassUnit](../enums/MassUnit.md) | | direct |
## Usages
| used by | used in | type | used |
| --- | --- | --- | --- |
| [MoleculeID](../classes/MoleculeID.md) | [molecular_weight](../slots/molecular_weight.md) | range | [MassQuantity](../classes/MassQuantity.md) |
## Identifier and Mapping Information
### Schema Source
* from schema: https://CCPBioSim.ac.uk/biosim-schema/
## Mappings
| Mapping Type | Mapped Value |
| --- | --- |
| self | https://CCPBioSim.ac.uk/biosim-schema/MassQuantity |
| native | https://CCPBioSim.ac.uk/biosim-schema/MassQuantity |
## LinkML Source
### Direct
```yaml
name: MassQuantity
description: A quantity representing mass.
from_schema: https://CCPBioSim.ac.uk/biosim-schema/
attributes:
value:
name: value
from_schema: https://CCPBioSim.ac.uk/biosim-schema/quantities
domain_of:
- LengthQuantity
- VolumeQuantity
- TimeQuantity
- FrequencyQuantity
- FrictionCoefficientQuantity
- MolarEnergyQuantity
- EnergyQuantity
- TemperatureQuantity
- PressureQuantity
- CompressibilityQuantity
- MassQuantity
- ConcentrationQuantity
- ForceQuantity
- ChargeQuantity
- AngleQuantity
- ByteQuantity
range: float
minimum_value: 0
value_unit:
name: value_unit
from_schema: https://CCPBioSim.ac.uk/biosim-schema/quantities
ifabsent: string(g/mol)
domain_of:
- LengthQuantity
- VolumeQuantity
- TimeQuantity
- FrequencyQuantity
- FrictionCoefficientQuantity
- MolarEnergyQuantity
- EnergyQuantity
- TemperatureQuantity
- PressureQuantity
- CompressibilityQuantity
- MassQuantity
- ConcentrationQuantity
- ForceQuantity
- ChargeQuantity
- AngleQuantity
- ByteQuantity
- VectorLengthQuantity
- VectorAngleQuantity
- VectorVolumeQuantity
- VectorCompressibilityQuantity
- VectorPressureQuantity
- VectorTemperatureQuantity
- VectorTimeQuantity
- MatrixPressureQuantity
- MatrixCompressibilityQuantity
- MatrixQuantity
range: MassUnit
```
### Induced
```yaml
name: MassQuantity
description: A quantity representing mass.
from_schema: https://CCPBioSim.ac.uk/biosim-schema/
attributes:
value:
name: value
from_schema: https://CCPBioSim.ac.uk/biosim-schema/quantities
owner: MassQuantity
domain_of:
- LengthQuantity
- VolumeQuantity
- TimeQuantity
- FrequencyQuantity
- FrictionCoefficientQuantity
- MolarEnergyQuantity
- EnergyQuantity
- TemperatureQuantity
- PressureQuantity
- CompressibilityQuantity
- MassQuantity
- ConcentrationQuantity
- ForceQuantity
- ChargeQuantity
- AngleQuantity
- ByteQuantity
range: float
minimum_value: 0
value_unit:
name: value_unit
from_schema: https://CCPBioSim.ac.uk/biosim-schema/quantities
ifabsent: string(g/mol)
owner: MassQuantity
domain_of:
- LengthQuantity
- VolumeQuantity
- TimeQuantity
- FrequencyQuantity
- FrictionCoefficientQuantity
- MolarEnergyQuantity
- EnergyQuantity
- TemperatureQuantity
- PressureQuantity
- CompressibilityQuantity
- MassQuantity
- ConcentrationQuantity
- ForceQuantity
- ChargeQuantity
- AngleQuantity
- ByteQuantity
- VectorLengthQuantity
- VectorAngleQuantity
- VectorVolumeQuantity
- VectorCompressibilityQuantity
- VectorPressureQuantity
- VectorTemperatureQuantity
- VectorTimeQuantity
- MatrixPressureQuantity
- MatrixCompressibilityQuantity
- MatrixQuantity
range: MassUnit
```