Hi Alex
Thanks for your interest in SBML/libSBML.
The 'denominator' units of the species are the units of the compartment
in which it is located. The Species class has an attribute 'compartment'
which returns the id of the compartment in which it is located. You then
need to query the Model to get the compartment using the id; and then
get the units from the Compartment.
So you would need to do something like
String compartment = species.getCompartment()
Compartment c = model.getCompartment(compartment)
String denominatorUnits = c.getUnits()
Let me know if I can be of more assistance.
Sarah