Используют ли инверторные файлы ".ond" хорошо известный формат сериализации? - PullRequest
0 голосов
/ 21 июня 2020

Производитель инверторов фотоэлектрических c предоставляет свои характеристики инвертора в .ond текстовом файле, который выглядит структурированным и легко анализируемым.

Однако мне интересно, является ли это широко известным форматом и возможно, в Python есть готовые парсеры, прежде чем я напишу свой ...

Это пример содержимого файла:

PVObject_=pvGInverter
  Comment=Fronius International ECO 25.0-3-S_OND    Manufacturer 2016
  Version=6.42
  Flags=$00331162

  PVObject_Commercial=pvCommercial
    Comment=www.fronius.com
    Flags=$0041
    Manufacturer=Fronius International
    Model=ECO 25.0-3-S_OND
    DataSource=Manufacturer 2016
    YearBeg=2015
    Width=0.510
    Height=0.725
    Depth=0.225
    Weight=35.70
    NPieces=0
    Currency=EUR
    Remarks, Count=12
      Str_1=Technology: transformerless
      Str_2=Protection: IP 66
      Str_3=Control: graphical display, backlit
      Str_4=Arc Fault Circuit Interruptor integrated, WLAN, Ethernet
      Str_5=LAN, USB-Stick connection for data logging und SW-
      Str_6=update, 6 inputs and 4 digital inputs/outputs
      Str_7=Datalogger and web server integrated, Energy
      Str_8=management (floating relay output)
      Str_9=Modbus TCP, JSON, Fronius Solar.web, Fronius Solar Net
      Str_10=interface / interface protocol
      Str_11=seperated mounting frame with connections, PC board
      Str_12=replacement concept
    End of Remarks=replacement concept
  End of PVObject pvCommercial
  Transfo=Without

  Converter=TConverter
    PNomConv=25.000
    PMaxOUT=25.000
    VOutConv=400.0
    VMppMin=580
    VMPPMax=850
    VmppNom=580.0
    Vmpp_PMax=580.0
    VAbsMax=1000
    PSeuil=20.0
    EfficMax=97.00
    EfficEuro=95.00
    FResNorm=0.00
    ModeOper=MPPT
    CompPMax=Lim
    CompVMax=Lim
    MonoTri=Tri
    PNomDC=25.500
    PMaxDC=35.700
    IDCMax=0.0
    IMaxDC=71.6
    INomDC=44.2
    INomAC=36.2
    IMaxAC=42.0
    TPNom=50.0
    TPMax=25.0
    TPLim1=60.0
    TPLimAbs=70.0
    PInEffMax =18750.000
    ModeAff=2
    UnitAff=2
    VNomEff=580.0,715.0,850.0,
    EfficMaxV=98.230,97.820,97.540,
    EfficEuroV=97.990,97.491,97.100,

    ProfilPIOV1=TCubicProfile
      NPtsMax=11
      NPtsEff=8
      LastCompile=$0011
      Mode=1
      Point_1=20.0,0.0
      Point_2=1250.0,1189.3
      Point_3=2500.0,2426.0
      Point_4=5000.0,4892.0
      Point_5=7500.0,7356.8
      Point_6=12500.0,12278.8
      Point_7=18750.0,18408.8
      Point_8=25000.0,24537.5
      Point_9=0.0,0.0
      Point_10=0.0,0.0
      Point_11=0.0,0.0
    End of TCubicProfile

    ProfilPIOV2=TCubicProfile
      NPtsMax=11
      NPtsEff=8
      LastCompile=$0011
      Mode=1
      Point_1=20.0,0.0
      Point_2=1250.0,1166.1
      Point_3=2500.0,2398.5
      Point_4=5000.0,4867.0
      Point_5=7500.0,7323.8
      Point_6=12500.0,12227.5
      Point_7=18750.0,18341.3
      Point_8=25000.0,24430.0
      Point_9=0.0,0.0
      Point_10=0.0,0.0
      Point_11=0.0,0.0
    End of TCubicProfile

    ProfilPIOV3=TCubicProfile
      NPtsMax=11
      NPtsEff=8
      LastCompile=$0011
      Mode=1
      Point_1=20.0,0.0
      Point_2=1250.0,1143.4
      Point_3=2500.0,2381.0
      Point_4=5000.0,4843.0
      Point_5=7500.0,7292.3
      Point_6=12500.0,12187.5
      Point_7=18750.0,18288.8
      Point_8=25000.0,24370.0
      Point_9=0.0,0.0
      Point_10=0.0,0.0
      Point_11=0.0,0.0
    End of TCubicProfile
  End of TConverter
  NbInputs=6
  NbMPPT=1
  TanPhiMin=-9.950
  TanPhiMax=9.950
  NbMSInterne=0
  MasterSlave=No_M_S
  IsolSurvey =Yes
  DC_Switch=Yes
  DiscAdjust=Yes
  ENS_Protec=Yes
  MS_Thresh=0.8
End of PVObject pvGInverter

Это хорошо известный текстовый формат?

...