Coder Social home page Coder Social logo

Comments (5)

toddkarin avatar toddkarin commented on September 28, 2024

Good point. I'll make this more consistent.

from pv-terms.

mdeceglie avatar mdeceglie commented on September 28, 2024

This may be related to #17... Perhaps allowing suffixes while some parameter names already include the suffixes (e.g. temperature_module) causes inconsistencies?

from pv-terms.

toddkarin avatar toddkarin commented on September 28, 2024

What do you think about this slightly changed order of modifications:

--
Many variables can be directly used without modification. However, there are many cases where the standard set of variables does not cover a particular application. For this reason, we have provided a list of :ref:optional suffixes<optional_suffixes> that can be appended to a variable name.

For example, one application might be to compare simulated and measured maximum-power-point power. In this case, the base variable pmp can be modified into pmp_sim and pmp_meas.

In order to standardize some common naming modifications, we have chosen a common order.

  1. _cell, _module, _string, _array, _inv.
  2. _XX, where XX is the name of the particular system.
  3. _rated, _sim, _meas
  4. _interval, _cumulative

For simplicity, it is not necessary to use all modifications for a particular variable.

Some examples:

  • temperature_module_12 Module temperature sensor 12.
  • current_dc_inv_2132: dc-side current from inverter 2132.
  • temperature_module_meas, temperature_module_sim: measured and simulated module temperature respectively.
  • beta_voc_module, beta_voc_string: beta_voc for a module and a string respectively.
  • alpha_isc_module_rated, alpha_isc_module_meas: rated and measured module alpha_isc.
  • energy_real_inv_12_sim_interval real energy for inverter 12 simulated on a specified interval.

from pv-terms.

mdeceglie avatar mdeceglie commented on September 28, 2024

I think this is now consistent. From a parsing perspective, it may be simpler to always have _XX be the final thing. However, that would make the already unwieldy energy_real_inv_12_sim_interval even less readable "Energy real inverter simulated interval 12" What do folks think.

from pv-terms.

toddkarin avatar toddkarin commented on September 28, 2024

My idea was to place _XX directly after e.g. _string because the number typically directly modifies the item _string.

from pv-terms.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.