IndexStaByOneCycle.html 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <html><head><title>Python: module IndexStaByOneCycle</title>
  3. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  4. </head><body bgcolor="#f0f0f8">
  5. <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
  6. <tr bgcolor="#7799ee">
  7. <td valign=bottom>&nbsp;<br>
  8. <font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>IndexStaByOneCycle</strong></big></big></font></td
  9. ><td align=right valign=bottom
  10. ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:d%3A%5Cplatform%5Cplatform%5Cmiddle%5Cindexstabyonecycle.py">d:\platform\platform\middle\indexstabyonecycle.py</a></font></td></tr></table>
  11. <p><tt>基于单一状态(一次行车、一次静置、一次充电)的指标统计库</tt></p>
  12. <p>
  13. <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
  14. <tr bgcolor="#aa55cc">
  15. <td colspan=3 valign=bottom>&nbsp;<br>
  16. <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
  17. <tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
  18. <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="PathSetting.html">PathSetting</a><br>
  19. <a href="Tools.html">Tools</a><br>
  20. </td><td width="25%" valign=top><a href="datetime.html">datetime</a><br>
  21. <a href="numpy.html">numpy</a><br>
  22. </td><td width="25%" valign=top><a href="pandas.html">pandas</a><br>
  23. <a href="sys.html">sys</a><br>
  24. </td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
  25. <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
  26. <tr bgcolor="#ee77aa">
  27. <td colspan=3 valign=bottom>&nbsp;<br>
  28. <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
  29. <tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
  30. <td width="100%"><dl>
  31. <dt><font face="helvetica, arial"><a href="builtins.html#object">builtins.object</a>
  32. </font></dt><dd>
  33. <dl>
  34. <dt><font face="helvetica, arial"><a href="IndexStaByOneCycle.html#IndexStaByOneCycle">IndexStaByOneCycle</a>
  35. </font></dt></dl>
  36. </dd>
  37. </dl>
  38. <p>
  39. <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
  40. <tr bgcolor="#ffc8d8">
  41. <td colspan=3 valign=bottom>&nbsp;<br>
  42. <font color="#000000" face="helvetica, arial"><a name="IndexStaByOneCycle">class <strong>IndexStaByOneCycle</strong></a>(<a href="builtins.html#object">builtins.object</a>)</font></td></tr>
  43. <tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
  44. <td width="100%">Methods defined here:<br>
  45. <dl><dt><a name="IndexStaByOneCycle-__init__"><strong>__init__</strong></a>(self)</dt><dd><tt>Initialize&nbsp;self.&nbsp;&nbsp;See&nbsp;help(type(self))&nbsp;for&nbsp;accurate&nbsp;signature.</tt></dd></dl>
  46. <dl><dt><a name="IndexStaByOneCycle-acc_time_sta"><strong>acc_time_sta</strong></a>(self, time_array)</dt><dd><tt>一个cycle的持续时间<br>
  47. ---------输入参数------------<br>
  48. time_array&nbsp;:&nbsp;一次cycle对应的time数据<br>
  49. ---------输出参数------------<br>
  50. 本cycle的持续时间,单位&nbsp;h</tt></dd></dl>
  51. <dl><dt><a name="IndexStaByOneCycle-capacity_sta"><strong>capacity_sta</strong></a>(self, cap, soc_array, soh_array)</dt><dd><tt>一个cycle净累积ah统计<br>
  52. ---------输入参数------------<br>
  53. cap&nbsp;:&nbsp;标称容量<br>
  54. soc_array&nbsp;:&nbsp;一个cycle对应的soc数据<br>
  55. soh_array&nbsp;:&nbsp;一个cycle对应的soh数据<br>
  56. ---------输出参数------------<br>
  57. 本次行车的累积ah</tt></dd></dl>
  58. <dl><dt><a name="IndexStaByOneCycle-chrg_max_pwr_sta"><strong>chrg_max_pwr_sta</strong></a>(self, volt_array, crnt_array)</dt><dd><tt>一个cycle的充电功率最大值<br>
  59. ---------输入参数------------<br>
  60. volt_array&nbsp;:&nbsp;一个cycle对应的volt数据<br>
  61. crnt_array&nbsp;:&nbsp;一个cycle对应的crnt数据<br>
  62. ---------输出参数------------<br>
  63. 本cycle的充电功率最大值</tt></dd></dl>
  64. <dl><dt><a name="IndexStaByOneCycle-dischrg_max_pwr_sta"><strong>dischrg_max_pwr_sta</strong></a>(self, volt_array, crnt_array)</dt><dd><tt>一个cycle的放电功率最大值<br>
  65. ---------输入参数------------<br>
  66. volt_array&nbsp;:&nbsp;一个cycle对应的volt数据<br>
  67. crnt_array&nbsp;:&nbsp;一个cycle对应的crnt数据<br>
  68. ---------输出参数------------<br>
  69. 本cycle的放电功率最大值</tt></dd></dl>
  70. <dl><dt><a name="IndexStaByOneCycle-energy_sta"><strong>energy_sta</strong></a>(self, cap, soc_array, soh_array, volt_array)</dt><dd><tt>一个cycle净累积能量统计<br>
  71. ---------输入参数------------<br>
  72. cap&nbsp;:&nbsp;标称容量<br>
  73. soc_array&nbsp;:&nbsp;一个cycle对应的soc数据<br>
  74. soh_array&nbsp;:&nbsp;一个cycle对应的soh数据<br>
  75. volt_array&nbsp;:&nbsp;一个cycle对应的volt数据<br>
  76. ---------输出参数------------<br>
  77. 本次行车的累积能量</tt></dd></dl>
  78. <dl><dt><a name="IndexStaByOneCycle-mean_temp_sta"><strong>mean_temp_sta</strong></a>(self, temp_array)</dt><dd><tt>一个cycle的单体平均温度<br>
  79. ---------输入参数------------<br>
  80. temp_array&nbsp;:&nbsp;一个cycle对应的某个单体的temp数据<br>
  81. ---------输出参数------------<br>
  82. 本cycle的单体平均温度</tt></dd></dl>
  83. <dl><dt><a name="IndexStaByOneCycle-odo_sta"><strong>odo_sta</strong></a>(self, odo_array)</dt><dd><tt>一次行车行驶里程统计<br>
  84. ---------输入参数------------<br>
  85. odo_array&nbsp;:&nbsp;一次行车对应的odo数据<br>
  86. ---------输出参数------------<br>
  87. 如果gps&nbsp;可信,则输出本次行车的累积行驶里程;<br>
  88. 否则,输出None</tt></dd></dl>
  89. <dl><dt><a name="IndexStaByOneCycle-regen_count_sta"><strong>regen_count_sta</strong></a>(self, crnt_array)</dt><dd><tt>一个行车cycle的regen&nbsp;行数<br>
  90. ---------输入参数------------<br>
  91. crnt_array&nbsp;:&nbsp;一个行车cycle对应的crnt数据<br>
  92. ---------输出参数------------<br>
  93. 本行车cycle的regen行数,&nbsp;总行数</tt></dd></dl>
  94. <dl><dt><a name="IndexStaByOneCycle-speed_sta"><strong>speed_sta</strong></a>(self, sum_odo, acc_time, speed_array)</dt><dd><tt>一个行车cycle的平均速度和最大瞬时速度<br>
  95. ---------输入参数------------<br>
  96. sum_odo&nbsp;:&nbsp;一个行车cycle对应的累积odo数据<br>
  97. acc_time&nbsp;:&nbsp;一个行车cycle对应的累积time数据<br>
  98. speed_array&nbsp;:&nbsp;一个行车cycle对应的speed数据<br>
  99. ---------输出参数------------<br>
  100. 本行车cycle的平均速度和最大速度</tt></dd></dl>
  101. <dl><dt><a name="IndexStaByOneCycle-temp_change_rate_sta"><strong>temp_change_rate_sta</strong></a>(self, time_array, temp_array)</dt><dd><tt>一个cycle的单体温度变化率<br>
  102. ---------输入参数------------<br>
  103. time_array&nbsp;:&nbsp;一个cycle对应的time数据<br>
  104. temp_array&nbsp;:&nbsp;一个cycle对应的temp数据<br>
  105. ---------输出参数------------<br>
  106. 本cycle的单体温度变化率</tt></dd></dl>
  107. <hr>
  108. Data descriptors defined here:<br>
  109. <dl><dt><strong>__dict__</strong></dt>
  110. <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
  111. </dl>
  112. <dl><dt><strong>__weakref__</strong></dt>
  113. <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
  114. </dl>
  115. </td></tr></table></td></tr></table><p>
  116. <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
  117. <tr bgcolor="#55aa55">
  118. <td colspan=3 valign=bottom>&nbsp;<br>
  119. <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
  120. <tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
  121. <td width="100%"><strong>CONF_PATH</strong> = r'D:\Platform\platform\CONFIGURE\'</td></tr></table><p>
  122. <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
  123. <tr bgcolor="#7799ee">
  124. <td colspan=3 valign=bottom>&nbsp;<br>
  125. <font color="#ffffff" face="helvetica, arial"><big><strong>Author</strong></big></font></td></tr>
  126. <tr><td bgcolor="#7799ee"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
  127. <td width="100%">wlm</td></tr></table>
  128. </body></html>