Skip to content

Precision

Rounding decimals

For detailed outputs obtained via the verbosity flag/s, we can ask to round the output values down to a specific number of decimals

pvgis-prototype power broadband \
8.628 45.812 214 180 45 \
'2010-01-27 12:00:00' \
-v \
--rounding-places 3
        Power series [W]         

  Time                  Power ⌁  
 ─────────────────────────────── 
  2010-01-27 12:00:00   756.843  

  ⅀ / μ                 756.843  

╭───────────────────────────────────────────────────────────────────────────────────────╮ ╭──────────────────────────────────────╮
│ Location  Longitude ϑ, Latitude ϕ = 0.151, 0.8, Elevation: 214.0 m                    │ │  ⌁  Power        ⦥  Tilt             │
│ Position  Surface Orientation ↻: 3.142, Surface Tilt ⦥: 0.785   Angular units radians │ │  ⏲  Timing       ⭸  Incidence        │
│ Definitions  UTC, Incidence angle: Sun-Vector-to-Surface-Plane,                       │ │  ⯐  Positioning  ⅀  N-ary Summation  │
│ Algorithms  Timing : NOAA, Positioning : NOAA, Incidence : Iqbal                      │ │  ↻  Orientation  μ  Mean             │
╰─────────────────────────────────────────────────────────────────────────── Reference ─╯ ╰───────────────────────────── Legend ─╯

or even

pvgis-prototype power broadband \
8.628 45.812 214 180 45 \
'2010-01-27 12:00:00' \
-vvv \
--rounding-places 1
                                                                                                          Power series [W]                                                                                                           

  Time                  Power ⌁   Power ⌁ without Loss   Efficiency ⋅   Extra Normal ⍖ ⦜   Linke Turbidity ⋅   Refracted alt. ⦧ ⦩   Altitude ⦩   Incidence ⭸   Sun-Horizon ⛰   Shading state 🮞   In-shade 🮞   Horizon ⛰   Visible 👁  
 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 
  2010-01-27 12:00:00   756.8     880.0                  0.9            1402.4             2.0                 25.4                 0.4          1.2           Above           Sunlit            False        0.0         True       

  ⅀ / μ                 756.8     880.0                  0.88332695     1402.4                                                                                                                                                       

╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ ╭───────────────────────────────────────────────────────╮
│ Location  Longitude ϑ, Latitude ϕ = 0.2, 0.8, Elevation: 214.0 m                                                                                │ │  ⌁  Power         ⯐  Positioning  ⅀  N-ary Summation  │
│ Position  Surface Orientation ↻: 3.1, Surface Tilt ⦥: 0.8   Angular units radians                                                               │ │  ⸾  Irradiance    ⛰  Horizon      μ  Mean             │
│ Module  Type: Mono-Facial, Technology: cSi, Mount: Free standing, Peak Power: 1.0 kWp                                                           │ │  -  Loss          ↻  Orientation                      │
│ Definitions  Azimuth origin : Not Required!, UTC, Incidence angle: Sun-Vector-to-Surface-Plane, Sun-to-Horizon: ['Above', 'Below', 'Low angle'] │ │  ⍖  Extra Normal  ⦥  Tilt                             │
│ Algorithms  Power model ⌁: Huld 2011, Timing : NOAA, Positioning : NOAA, Incidence : Iqbal, Shading : PVGIS, Shading states : ['all']           │ │  ⦜  Normal        ⭸  Incidence                        │
│ Radiation model ⸾ : Hofierka 2002, Irradiance units W                                                                                           │ │  ⏲  Timing        👁  Visible                          │
│ Equation : P(G₀, T₀) = G₀(P₀ₛₜ₃, m + k₁G₀) + k₂G₀)² + k₃T₀ + k₄T₀G₀ + k₅T₀G₀² + k₆T₀²                                                           │ │  ⦩  Altitude      🮞  Shading                          │
│ Constants Solar constant : 1367.0                                                                                                               │ │  󱦥  Azimuth       ⋅  Factor                           │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── Reference ─╯ ╰────────────────────────────────────────────── Legend ─╯

Higher precision

Do you really need higher precision? Head over to the NumPy section.