DemandFunction.from_xml

classmethod DemandFunction.from_xml(data, shared=None, **kw) → LinearDemandFunction | AffineDemandFunction[source]