class Compound(): pass
system
Fill in a module description here
System
System (reactions=[])
Initialize self. See help(type(self)) for accurate signature.
= Compound(), Compound(), Compound() H2O, CO2, NO3
= 1 our_universe
= 1 reaction1
= dict(
subscribers = {
our_universe "mass": lambda x:1,
"reactions": {
reaction1: {max, max, max],
H2O: [max, max, max],
CO2: [max, max, max],
NO3: [
},'reaction2': None
}
} )
subscribers
{'our_universe': {'mass': <function __main__.<lambda>(x)>,
'reactions': {1: {<__main__.Compound>: [<function max>,
<function max>,
<function max>],
<__main__.Compound>: [<function max>,
<function max>,
<function max>],
<__main__.Compound>: [<function max>,
<function max>,
<function max>]},
'reaction2': None}}}
L(subscribers)
(#3) ['our_universe','reaction1','reaction2']