Repository navigation
demand: CPFL's GED 13 to version 46.0 and Enel's GRI-0017 (the former ET 1569) to version 02 - #474
Conversation
CPFL: the factors are unchanged; the tables are renumbered (Tabela 15 for other buildings, 13 and 14 for motors, item 6.22.1). Tabela 1C's C9 goes to 52 kVA, B1 and B3 take a 32 mm conduit, C7 earths by 6 mm², the aluminium entry cable is given beside the copper one, and three-phase motors go to 300 cv. Enel: GRI-0017 version 02 (the former ET 1569) prints no power made available and stretches each range up to it, so Anexo A's ranges overlap; new 175 A rows in Anexos A (C8) and D (C5); Anexo A's earthing and C4's entry, Anexo B's B4/C4 connection and B9/C9 earthing, Anexo C's limits as printed. available_kw leaves the reply.
|
I'm planning to move all kinds of national standards like the electrical ones to the unified Building Code menu I have introduced in stairs. It will allow granular control of these values without PRs as well the possibility to introduce other nation's codes. I will see when the maintainer merges the stairs then it is possible we bundle this PR into some big Building Code PR. |
|
Thanks, @dansity, I like the idea. One place for every country's code, with values people can change without a PR, is the direction we have been after since I would still keep this PR on its own, if that's all right with you. It only moves two utilities' tables, which are already in I read
I have also been comparing how other countries work out a building's demand. The ones I could read in open sources come down to a few forms of diversity: an equivalent number of units (Brazil's utilities; Spain's ITC-BT-10 up to 21 dwellings), a coefficient by band that multiplies the sum (France's SéQuélec GP 16, Portugal's RTIEBT, the US NEC 120.84, formerly 220.84), a + b·n (the UK's SP Energy Networks ESDD-02-012: ADMD × n plus a fixed term), and load bands taken at 100 % and then at a lower percentage (the NEC's standard method). Germany's DIN 18015-1 gives a curve, which I could not check, as the standard is not open. All of them fit one mechanism with a |
# Conflicts: # CLAUDE.md # crates/core/src/commands.rs # docs/areas/structure-and-mep.md # translations/project/bimcraft-project.pot # translations/project/cs.po # translations/project/de.po # translations/project/es.po # translations/project/fr.po # translations/project/it.po # translations/project/nl.po # translations/project/pl.po # translations/project/pt.po # translations/project/sv.po # translations/project/vi.po # translations/ui/bimcraft-ui.pot # translations/ui/cs.po # translations/ui/de.po # translations/ui/es.po # translations/ui/fr.po # translations/ui/it.po # translations/ui/nl.po # translations/ui/pl.po # translations/ui/pt.po # translations/ui/vi.po # translations/ui/zh.po # translations/ui/zh_TW.po
Each fails under a deliberate break that the tests let through before: a range from 0 holds 0, and each row answers at its own upper end (and its demand's), in every utility's table and by every method (IPedrax#484, IPedrax#474); each building method at its least number of dwellings and not one fewer (IPedrax#483); an outdoor rule asks it of outlets only, whatever kinds a code lists (IPedrax#359); a room with its outlets and no light point is short, and enough once its light is drawn (IPedrax#280); a 3D file over the limit refused by its size, before it is read (IPedrax#393); only a common property set has the status the export writes (IPedrax#291); a beam at the view range's top is seen, and hidden by a ceiling there (IPedrax#153); Run Script says a single warning (IPedrax#391).
demandwas written against CPFL's GED 13 version 2.24 (2020) and Enel's ET 1569 version 01 (2024). Both utilities have published new editions since then. This PR brings the tables up to date. The command's shape and parameters stay the same.CPFL, GED 13 version 46.0 (19/03/2026)
I checked every table
demandreads against the new edition.aluminium_mm2.Enel, GRI-0017 version 02 (06/03/2025)
candidates, the smaller supply first.available_kwis gone from the reply, because no annex prints it now. The demand note now cites Anexo A's note 11 (the designer works out a three-phase demand, up to 75 kW of installed load), and the 75 kW limit cites item 7.4.not_covered.Tests
The tests were changed first to the new printed values, then the code. They cover:
GED 13's Example 3 still comes out at 46.1 kW, D ≈ 33 kVA, C3. The area doc (
docs/areas/structure-and-mep.md) is updated to match.Checks
cargo fmt --check,cargo clippy --workspace --all-targets -- -D warnings,cargo test --workspace,cargo i18n check.