Coverage for backend/ahuora-compounds/ahuora_compounds/packages/reaction.py: 100%

18 statements  

« prev     ^ index     » next       coverage.py v7.10.7, created at 2026-03-26 20:57 +0000

1from ahuora_compounds.PropertyPackage import PropertyPackage 

2from ahuora_compounds.CompoundRegistry import CompoundRegistry 

3 

4 

5def register(registry: CompoundRegistry) -> None: 

6 registry.register_package(PropertyPackage("biomass_and_flue")) 

7 registry.register_package(PropertyPackage("biomass_combustion_reaction")) 

8 

9 registry.bind("biomass", "biomass_and_flue") 

10 registry.bind("water", "biomass_and_flue") 

11 registry.bind("carbon dioxide", "biomass_and_flue") 

12 registry.bind("oxygen", "biomass_and_flue") 

13 registry.bind("carbon monoxide", "biomass_and_flue") 

14 registry.bind("nitrogen", "biomass_and_flue") 

15 registry.bind("ash", "biomass_and_flue") 

16 

17 registry.bind("biomass", "biomass_combustion_reaction") 

18 registry.bind("water", "biomass_combustion_reaction") 

19 registry.bind("carbon dioxide", "biomass_combustion_reaction") 

20 registry.bind("oxygen", "biomass_combustion_reaction") 

21 registry.bind("carbon monoxide", "biomass_combustion_reaction") 

22 registry.bind("nitrogen", "biomass_combustion_reaction")