reportDescriptionEmix.xml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. {% if report_description.power_real %}
  2. <powerReal xmlns="http://docs.oasis-open.org/ns/emix/2011/06/power" xmlns:scale="http://docs.oasis-open.org/ns/emix/2011/06/siscale">
  3. <itemDescription>{{ report_description.power_real.item_description }}</itemDescription>
  4. <itemUnits>{{ report_description.power_real.item_units }}</itemUnits>
  5. <scale:siScaleCode>{{ report_description.power_real.si_scale_code }}</scale:siScaleCode>
  6. <powerAttributes>
  7. <hertz>{{ report_description.power_real.power_attributes.hertz }}</hertz>
  8. <voltage>{{ report_description.power_real.power_attributes.voltage }}</voltage>
  9. <ac>{{ report_description.power_real.power_attributes.ac|booleanformat }}</ac>
  10. </powerAttributes>
  11. </powerReal>
  12. {% endif %}
  13. {% if report_description.power_apparent %}
  14. <powerApparent xmlns="http://docs.oasis-open.org/ns/emix/2011/06/power" xmlns:scale="http://docs.oasis-open.org/ns/emix/2011/06/siscale">
  15. <itemDescription>{{ report_description.power_apparent.item_description }}</itemDescription>
  16. <itemUnits>{{ report_description.power_apparent.item_units }}</itemUnits>
  17. <scale:siScaleCode>{{ report_description.power_apparent.si_scale_code }}</scale:siScaleCode>
  18. <powerAttributes>
  19. <hertz>{{ report_description.power_apparent.power_attributes.hertz }}</hertz>
  20. <voltage>{{ report_description.power_apparent.power_attributes.voltage }}</voltage>
  21. <ac>{{ report_description.power_apparent.power_attributes.ac|booleanformat }}</ac>
  22. </powerAttributes>
  23. </powerApparent>
  24. {% endif %}
  25. {% if report_description.power_reactive %}
  26. <powerReactive xmlns="http://docs.oasis-open.org/ns/emix/2011/06/power" xmlns:scale="http://docs.oasis-open.org/ns/emix/2011/06/siscale">
  27. <itemDescription>{{ report_description.power_reactive.item_description }}</itemDescription>
  28. <itemUnits>{{ report_description.power_reactive.item_units }}</itemUnits>
  29. <scale:siScaleCode>{{ report_description.power_reactive.si_scale_code }}</scale:siScaleCode>
  30. <powerAttributes>
  31. <hertz>{{ report_description.power_reactive.power_attributes.hertz }}</hertz>
  32. <voltage>{{ report_description.power_reactive.power_attributes.voltage }}</voltage>
  33. <ac>{{ report_description.power_reactive.power_attributes.ac|booleanformat }}</ac>
  34. </powerAttributes>
  35. </powerReactive>
  36. {% endif %}
  37. {% if report_description.energy_real %}
  38. <energyReal xmlns="http://docs.oasis-open.org/ns/emix/2011/06/power" xmlns:scale="http://docs.oasis-open.org/ns/emix/2011/06/siscale">
  39. <itemDescription>{{ report_description.energy_real.item_description }}</itemDescription>
  40. <itemUnits>{{ report_description.energy_real.item_units }}</itemUnits>
  41. <scale:siScaleCode>{{ report_description.energy_real.si_scale_code }}</scale:siScaleCode>
  42. </energyReal>
  43. {% endif %}
  44. {% if report_description.energy_apparent %}
  45. <energyApparent xmlns="http://docs.oasis-open.org/ns/emix/2011/06/power" xmlns:scale="http://docs.oasis-open.org/ns/emix/2011/06/siscale">
  46. <itemDescription>{{ report_description.energy_apparent.item_description }}</itemDescription>
  47. <itemUnits>{{ report_description.energy_apparent.item_units }}</itemUnits>
  48. <scale:siScaleCode>{{ report_description.energy_apparent.si_scale_code }}</scale:siScaleCode>
  49. </energyApparent>
  50. {% endif %}
  51. {% if report_description.energy_reactive %}
  52. <energyReactive xmlns="http://docs.oasis-open.org/ns/emix/2011/06/power" xmlns:scale="http://docs.oasis-open.org/ns/emix/2011/06/siscale">
  53. <itemDescription>{{ report_description.energy_reactive.item_description }}</itemDescription>
  54. <itemUnits>{{ report_description.energy_reactive.item_units }}</itemUnits>
  55. <scale:siScaleCode>{{ report_description.energy_reactive.si_scale_code }}</scale:siScaleCode>
  56. </energyReactive>
  57. {% endif %}
  58. {% if report_description.energy_quantity %}
  59. <energyQuantity xmlns="http://docs.oasis-open.org/ns/emix/2011/06/power" xmlns:scale="http://docs.oasis-open.org/ns/emix/2011/06/siscale">
  60. <quantity>{{ report_description.energy_quantity.quantity }}</quantity>
  61. <energyItem xmlns="http://docs.oasis-open.org/ns/emix/2011/06/power" xmlns:scale="http://docs.oasis-open.org/ns/emix/2011/06/siscale">
  62. <itemDescription>{{ report_description.energy_quantity.energy_item.item_description }}</itemDescription>
  63. <itemUnits>{{ report_description.energy_quantity.energy_item.item_units }}</itemUnits>
  64. <scale:siScaleCode>{{ report_description.energy_quantity.energy_item.si_scale_code }}</scale:siScaleCode>
  65. </energyItem>
  66. </energyQuantity>
  67. {% endif %}
  68. {% if report_description.voltage %}
  69. <voltage xmlns="http://docs.oasis-open.org/ns/emix/2011/06/power" xmlns:scale="http://docs.oasis-open.org/ns/emix/2011/06/siscale">
  70. <itemDescription>{{ report_description.voltage.item_description }}</itemDescription>
  71. <itemUnits>{{ report_description.voltage.item_units }}</itemUnits>
  72. <scale:siScaleCode>{{ report_description.voltage.si_scale_code }}</scale:siScaleCode>
  73. </voltage>
  74. {% endif %}