TargetEcon Wiki — Activity Log¶
Append-only. Each entry starts with ## [YYYY-MM-DD] type | description for easy grep parsing.
[2026-04-09] lint | Health check — 3 issues found and fixed¶
Type: Routine health check.
Issues fixed (3):
1. Stale "not yet ingested" labels — All 8 files previously marked as not yet available in raw/inc files/ (Set_geo.inc, Set_WGeo.inc, set_kw.inc, re_meandering_xcost.inc, set_kero.inc, set_up_lake_ero.inc, Set_pp.inc, set_kpp.inc) are now present. Converted all plain-text references to clickable links in stream_measures.md, trees.md, and overflow.md.
2. Page count wrong in index.md — Said 57, actual count is 60. Fixed to 60 and updated date to 2026-04-09.
3. Last-session work not logged — Added today's entry.
No other problems found:
- No broken relative links (all data source links added in the previous session use correct ../../../raw/inc files/ paths).
- No orphan pages.
- No missing nav entries (lint and log pages are deliberately excluded from mkdocs nav, as documented in lint_2026-04-08.md).
- No new contradictions between pages.
Remaining known open items (from lint_2026-04-08.md): - 6 scenario pages remain planning stubs (waiting for model runs). - Project findings not yet propagated into synthesis/measure pages.
[2026-04-06] update | Raw file links added to all 25 measure pages + model structure pages¶
Type: Accessibility improvement — raw source linkage.
Scope: 25 measure pages + N_reduction.md + P_reduction.md.
What changed:
- All measure pages now have a "Data sources" section (11 pages had none — added; 14 pages had plain text file names — converted to clickable links).
- Links use relative markdown paths: filename for files in raw/inc files/, and [TargetEcon 2026.gms](<../../../TargetEcon 2026.gms>) / [differentiation_effects.inc](<../../../differentiation_effects.inc>) for root-level files.
- Files not yet ingested into raw/inc files/ (set_geo.inc, set_WGeo.inc, set_kw.inc, re_meandering_xcost.inc, set_kero.inc, set_up_lake_ero.inc, set_pp.inc, set_kpp.inc) are noted as "(not yet ingested)" in the relevant Data sources sections.
- N_reduction.md: added clickable link to differentiation_effects.inc and N_targets_DEC2024.inc.
- P_reduction.md: added clickable links to p_transp_matrix_NEW.csv, Total_P_loss.inc, and P_targets_Dec2024.inc.
[2026-04-06] lint | Health check pass — 4 issues found and fixed¶
Type: Maintenance lint.
Issues fixed (4):
1. wiki/synthesis/cost_effectiveness.md — LRh and SA catchment counts were stale (said 13 and ~97; corrected to 108 national after the April 5 differentiation_effects.inc update).
2. wiki/synthesis/cost_effectiveness.md — Two broken internal links: N_reduction.md and P_reduction.md had wrong relative paths from the wiki/synthesis/ directory. Fixed to ../model_structure/N_reduction.md and ../model_structure/P_reduction.md.
3. wiki/lint_2026-04-05.md — Page count updated from 53 to 54.
4. wiki/lint_2026-04-05.md — Several resolved items now marked ✅: Adj_Ann_Jordv_2pro, LRl vs LRh retention type rationale, EC crop assumptions (willow), all 8 previously "unconfirmed critical files."
No structural problems found: - No new broken links from cross-linking pass. - No contradictions between pages. - No orphan pages. - All 54 pages accounted for in index.md.
Remaining open items requiring user input (6): - exceed_MW in MW_eq (verify in .gms) - LRh PotV eligibility nationally (verify in .gms) - Dec 2024 targets final? - WL N effect = 90 final? - WL P effect = 0 permanent? - VP2 temporary measures: should they block VP3?
[2026-04-04] ingest | TargetEcon 2026_without_reporting(putfile).gms¶
Type: Initial model ingest — full read of the main GAMS model file.
Source: TargetEcon 2026_without_reporting(putfile).gms (~1380 lines, reporting section removed)
Pages created / updated:
- CLAUDE.md — schema document (new)
- wiki/index.md — master index (new)
- wiki/log.md — this file (new)
- wiki/overview.md — model big-picture (new)
- wiki/model_structure/spatial_hierarchy.md (new)
- wiki/model_structure/objective_and_costs.md (new)
- wiki/model_structure/N_reduction.md (new)
- wiki/model_structure/P_reduction.md (new)
- wiki/model_structure/constraints.md (new)
- wiki/measures/overview.md (new)
- wiki/measures/N/ — all 14 N measure pages (new)
- wiki/measures/P/ — all 6 P measure pages (new)
- wiki/measures/combined/combined_overview.md (new)
- wiki/measures/infrastructure/ — MW, WWT, stream, overflow, trees (new)
- wiki/concepts/retention.md (new)
- wiki/concepts/P_pathways.md (new)
- wiki/concepts/cost_concepts.md (new)
- wiki/policy_context/VP2_VP3.md (new)
- wiki/policy_context/tripartite_agreement.md (new)
- wiki/policy_context/WFD.md (new)
- wiki/data/inc_files_overview.md (new)
- wiki/scenarios/index.md (new, empty)
Key takeaways from ingest: - MIP model minimizing total cost subject to N targets (coastal catchment level) and P targets (lake catchment level) - ~35 measure types; binary decision variable x(i,j) at individual field level - N reduction routes through ID15 retention fractions (TotRet, SurfRet); P reduction aggregated via lake-chain transport matrix - VP2 implemented measures loaded as fixed parameters — model cannot re-use those fields - var_N/var_P/var_B/var_C scalars switch targets on/off; biodiversity (B) and climate (C) not yet fully implemented in current version - Tripartite agreement (2021) encoded as area floor constraints (LRl, FO, WL, MW, LRh, SA) - WL N effect changed to flat 90 kg/ha/yr on 2026-01-20 (previously soil-differentiated) - WL P effect set to 0 (changed 2023-11-18) - Mini-wetland costs updated Dec 2024 to include gross margin of the wetland area itself - IBZ has the most mutual exclusion constraints of any measure
Questions raised during ingest (to discuss with user):
1. What are the exact names / policy intent behind B and C targets?
2. What is the complete list of .inc files and their data sources?
3. Are there any scenario results already available to ingest?
4. ~~What does IBZ stand for exactly?~~ → Answered: Intelligent Buffer Zones (precision-targeted riparian buffers)
5. What does "ochre" treatment refer to in the stream measures context?
[2026-04-05] build | Wiki expansion + lint pass¶
Type: Autonomous wiki expansion — no new sources ingested; all content derived from model code already read.
New pages created (17):
- raw/README.md — source document directory with priority ingestion list
- wiki/scenarios/Baseline_NP.md — planned scenario stub
- wiki/scenarios/N_only.md — planned scenario stub
- wiki/scenarios/P_only.md — planned scenario stub
- wiki/scenarios/No_tripartite.md — planned scenario stub (pure CE benchmark)
- wiki/scenarios/N_only_no_tripartite.md — planned scenario stub (pure N frontier)
- wiki/scenarios/Tripartite_cost_analysis.md — derived analysis template
- wiki/scenarios/index.md — fully rebuilt with scenario matrix and future ideas
- wiki/model_structure/B_target.md — biodiversity module stub
- wiki/model_structure/C_target.md — climate module stub (with CO₂ equation from commented code)
- wiki/model_structure/how_to_run.md — practical model run guide
- wiki/synthesis/cost_effectiveness.md — indicative CE ranges for all measures + NR advantage analysis
- wiki/lint_2026-04-05.md — full lint report with prioritised checklist
- wiki/index.md — fully rebuilt with all new pages
Lint pass findings (53 pages read): - ✅ No broken links, no orphans, no contradictions - ⚠️ 18 pages missing YAML frontmatter (listed in lint report) - ⚠️ 29 open questions catalogued and prioritised - ⚠️ 40+ data files still marked as inferred (⚠️) vs confirmed (✅) - ⚠️ 4 structural gaps: no scenario results yet, B/C not implemented, data audit incomplete, no results interpretation guide
Key synthesis insights added:
- The NR retention advantage (WL, LRl) articulated clearly: these measures don't deteriorate with distance from coast — a core model finding
- Cost-effectiveness ranges computed analytically for all 14 N measures and 7 P measure categories
- Scenario matrix framed: 6 scenarios produce 4 key derived policy numbers (cost of P targets, cost of Tripartite Agreement, etc.)
- Climate module (C_target.md) reconstructed from commented-out code: ag_co2(i) and ag_FO_co2(i) parameters identified, LRl on peat identified as likely dominant climate measure
Next priority actions (from lint): 1. Run Baseline_NP scenario and document results 2. Ingest N and P measure catalogs (add to raw/measures/) 3. Add YAML frontmatter to 18 pages 4. Resolve 6 quick open questions with user 5. Read and confirm 6 unconfirmed data files
[2026-04-05] ingest | DCA Rapport nr. 174 (N catalog) + SR379 (P catalog)¶
Type: Measure catalog ingest — two PDF scientific reports (454 + 288 pages).
Sources:
- raw/measures/VIRKEMIDLER TIL REDUKTION AF KVÆLSTOFBELASTNINGEN AF VANDMILJØET.pdf — DCA Rapport nr. 174, Eriksen et al. 2020 (N measure catalog, Aarhus University / Copenhagen University)
- raw/measures/SR379_Phosphorus measures.pdf — DCE Scientific Report nr. 379, Andersen et al. 2020 (P measure catalog, Aarhus University)
Pages updated (11):
- wiki/measures/N/CCS.md — catalog confirmation; N effect 12–45 kg N/ha confirmed; confidence ***, CE ranges added
- wiki/measures/N/EC.md — catalog confirmation; 34/51 kg N/ha by soil type confirmed; willow primary crop confirmed; economics added
- wiki/measures/N/EW.md — 17 kg N/ha confirmed; flat across soil types; cost scale-dependent (1–36 DKK/kg N)
- wiki/measures/N/FO.md — 53 kg N/ha confirmed (= 61 − 8); Adj_Ann_Jordv_2pro resolved; annuity economics explained; P and climate effects documented
- wiki/measures/N/IC.md — 8–19 kg N/ha catalog range vs model's flat 14; confidence *** confirmed
- wiki/measures/N/N10.md — NLES5 marginal leaching rates (14–31%) documented; 18% coefficient contextualized
- wiki/measures/N/SA.md — 49 kg N/ha permanent / 34 kg N/ha kortvarig brak; 12 kg N/ha residual confirmed; 250 DKK slåning cost confirmed
- wiki/measures/N/BZ10.md — N effect "not quantified" status confirmed; P retention 60–80% from overland flow confirmed
- wiki/measures/N/BZ20.md — catalog cross-reference added
- wiki/measures/N/WL.md — full catalog section added; 3,486 DKK/ha establishment cost confirmed; catalog N effect (~150 kg N/ha) vs model value (90 kg N/ha) explained
- wiki/measures/N/LRl.md — 40 kg N/ha confirmed as deliberate policy consensus value; lower cost vs WL explained
- wiki/measures/P/IBZ.md — major update: full mechanism description from both catalogs; N removal 20–40% of drain water; cost "not assessed" in catalogs; two Danish full-scale installations
- wiki/data/inc_files_overview.md — new section "Measure catalogs (PDF)" with full chapter mapping for both reports
Key findings from catalog ingest: - N effect values for CCS, EC, FO, IC, EW, SA, N10, N20 all confirmed by catalog - WL construction cost 3,486 DKK/ha confirmed exactly from wetland establishment budget analysis - LRl's flat 40 kg N/ha confirmed as a deliberate policy consensus for land-use change component (not full wetland denitrification) - FO annuity parameter (Adj_Ann_Jordv_2pro) confirmed as annuitized timber income from skovrejsning grant scheme - BZ10/BZ20 N effect formula (leaching − 12) confirmed: 12 kg N/ha = residual from brak land - IBZ: very limited evidence base (only 2 Danish sites measured for 1 year each); N removal 20–40%; costs not assessed
Measures not found in catalogs: - LRh (no dedicated chapter), NPB10/20, OT, PPC, CCW (as distinct from CCS)
Remaining gap: Mini-wetland (MW) N effect chapter not read in detail — planned for next session.
[2026-04-05] ingest | Rolighed et al. 2025 — Differentieret effekt af kvælstofvirkemidler¶
Type: New source document ingest — 45-page DCA advisory note (September 2025 revision).
Source: raw/DCA_Levering_Diff_effekt_kv_lstofvirkemidler_REVIDERET_300925.pdf
Rolighed, J., Thers, H., Larsen, S.U., Blicher-Mathiesen, G., Eriksen, J. (2025). "Differentieret effekt af kvælstofvirkemidler." Commissioned by SGAV. Revised delivery 30.09.2025.
Pages created / updated (6):
- wiki/data/DCA_diff_effekt_2025.md — new full data page; national averages + 108-catchment differentiation tables for SA, LRh, FO, CCS
- wiki/data/inc_files_overview.md — added PDF to catalog table; linked differentiation_effects.inc to this source document; corrected NPB/OT/PPC names in "not found" section
- wiki/measures/N/SA.md — added "Updated scientific source (2025)" section: BRAK project data, three brak sub-types (slåningsbrak grass 46 kg N/ha, spildkorn 29, blomsterbrak 24), area-weighted national average 34 kg N/ha; pre-delivery version timing flag
- wiki/measures/N/FO.md — added note: same 8 kg N/ha residual confirmed, but national N effect 50 kg N/ha (using 2021 58 kg/ha baseline vs. 2020's 61 kg/ha)
- wiki/measures/N/LRh.md — 13 catchment table added in DCA_diff_effekt_2025.md; LRh catchments confirmed as Northern Jutland / Limfjorden region
Key findings:
- The 2025 advisory note is the direct scientific source of differentiation_effects.inc
- CCS: no change recommended — 12/24/32/45 kg N/ha remains current
- SA national average: 34 kg N/ha (weighted). Slåningsbrak-grass has much lower leaching (12 kg) than blomsterbrak (34 kg)
- LRh: 12 kg N/ha residual nationally; N effect = 46 kg N/ha on omdrift; 0 on permanent grass
- FO: 8 kg N/ha residual confirmed; national effect = 50 kg N/ha (updated baseline 58 vs old 61)
- 13 LRh catchments confirmed as Limfjorden region (Nissum Bredning, Thisted Bredning, Nibe Bredning, Kås Bredning, Løgstør Bredning, Halkær Bredning, Lillebælt, Skagerrak, Aalborg Bugt, etc.)
- ⚠️ Pre-delivery May 2025 version of analysis → differentiation_effects.inc may differ from September 2025 final values — flag for VP4 recalibration check
[2026-04-05] ingest | MW chapter (DCA 174) + P catalog corrections (SR379)¶
Type: Continued PDF catalog ingest + measure name corrections.
Sources:
- raw/measures/VIRKEMIDLER TIL REDUKTION AF KVÆLSTOFBELASTNINGEN AF VANDMILJØET.pdf — DCA Rapport nr. 174 (N catalog), MW chapter p.301–314
- raw/measures/SR379_Phosphorus measures.pdf — SR379 (P catalog), chapters: PPC (p.30–39), NPB (p.40–46), OT (p.77–89)
- User clarifications: SA = kortvarig brak ✅; LRh = permanent udtagning ✅; LRl = permanent udtagning på organogene drænet jord ✅; LRl ≠ Styret dræning ✅
Pages updated (8):
- wiki/measures/infrastructure/MW.md — catalog source section added; 472 kg N/ha (22%) and 31 kg P/ha (45%) confirmed; three size class costs reconciled with catalog Table 8; eligibility criteria documented
- wiki/measures/P/NPB10.md — Major name correction: "Near-field Buffer Strip" → "Negative Phosphorus Balance (Negativ fosforbalance)"; full catalog section added; model's 0.05 factor contextualized vs catalog's quantity-based approach; 50 DKK/ha/yr cost matches catalog exactly ✅
- wiki/measures/P/NPB20.md — same name correction; catalog source cross-referenced
- wiki/measures/P/PPC.md — Major name correction: "Plant Protection Cap" → "Permanent Plant Cover (Permanent plantedække)"; full catalog section added; 90% erosion factor at upper range of catalog's 50–97%; ~5,500 ha target area noted
- wiki/measures/P/OT.md — Major name correction: "Overland Transport Reduction" → "Optimized Tillage (Optimering af jordbearbejdning / pløjefri dyrkning)"; full catalog section added; 50% erosion factor explained as conservative vs catalog's 60–100%
- wiki/measures/N/LRh.md — catalog source added: permanent udtagning on mineral soils (DCA 174 p.115–127); 49 kg N/ha from catalog contextualized
- wiki/measures/N/LRl.md — major update: clarified as permanent udtagning på organogene drænet jord; NOT Styret dræning; not in catalog as standalone chapter; sources and reasoning for 40 kg N/ha explained; climate note from Paludikultur chapter
Measures found in SR379 (P catalog) in this session: - PPC = Permanent plantedække (p.30–39) ✅ - NPB = Negativ fosforbalance (p.40–46) ✅ - OT = Optimering af jordbearbejdning (p.77–89) ✅
Measures still not found in either catalog: - LRl (no standalone chapter — lavbund permanent set-aside N effect derived by model developer) - LRh (no standalone chapter — found only as sub-case of permanent udtagning general chapter) - CCW (not distinguished from CCS)
Key findings:
- MW N effects match catalog exactly (22% = 472 kg N/ha/yr for full-size MW) — all three model size classes confirmed ✅
- Three P measure pages had incorrect English names (fabricated) — now corrected to match catalog Danish chapters
- Styret dræning (DCA 174 p.330–338) = controlled drainage, 6 kg N/ha = NOT the same as LRl
- New source document to ingest: raw/DCA_Levering_Diff_effekt_kv_lstofvirkemidler_REVIDERET_300925.pdf (spatially differentiated N effects)
[2026-04-04] ingest | differentiation_effects.inc + Q&A¶
Source: differentiation_effects.inc (root folder). Generated from differentiation_effects.xlsx via XLS2GMS, May 2025. "YES Differentiation" project.
Pages updated:
- wiki/measures/N/SA.md — N effect fully documented: spatially differentiated by catchment, prodeff(i) − X where X = 6–27, ~97 catchments, 0 elsewhere
- wiki/measures/N/LRh.md — N effect fully documented: 13 catchments only, prodeff(i) − X where X = 7–15
- wiki/measures/P/IBZ.md — IBZ = "Intelligent Buffer Zones" (precision-targeted riparian buffers)
- wiki/measures/P/PWET.md — wtype(i) = watercourse type (width and characteristics)
- wiki/measures/N/WL.md — N effect (90 kg/ha) and P effect (0) confirmed as current VP3 values, both subject to future revision
- wiki/concepts/cost_concepts.md — All costs confirmed as annual running costs (DKK/yr)
- wiki/data/inc_files_overview.md — differentiation_effects.inc marked ✅ with extended note
Key findings from differentiation_effects.inc:
- SA N effect: catchment-specific corrections of −6 to −27 on prodeff(i); active in ~97 catchments, zero elsewhere. Original flat default (−27 all catchments) is now fully replaced.
- LRh N effect: catchment-specific corrections of −7 to −15; active in only 13 catchments (cluster 217–238), zero elsewhere.
- Spatial differentiation means SA and LRh are only effective N measures in a specific subset of Danish coastal catchments.
Remaining open questions: - Which region of Denmark do the 13 LRh catchments (217–238) correspond to? - Scientific basis for the catchment-specific correction terms in the "YES Differentiation" project - Measure documentation for IBZ to be ingested when available - B and C target definitions
[2026-04-05] ingest | 129 .inc files copied from temp/ to raw/inc files/ and ingested¶
Type: Bulk data file ingest — all active .inc files now in raw/inc files/ for direct reading.
Process:
1. Extracted all active (non-commented) $include statements from TargetEcon 2026.gms → 129 unique files
2. Copied each from temp/ to raw/inc files/ using case-insensitive matching → 129 copied, 0 not found
3. Read key files directly and updated wiki
Files in temp NOT copied (inactive / commented out in .gms): Old target files (VP2/NOV23/JUN2021), old MiniPot variants, old cost/area files, SO-variant files (industry), dam files, biodiversity/BNBO files, FO_YES_old/FO_NO_old, Leaching_ha, macropore_ha, various _2 / _SO / _backup variants. These are historical alternatives, not active model inputs.
Files not found anywhere (CSV includes):
- p_transp_matrix_NEW.csv — P transport coefficients lake-to-lake (used in P_Red_aft_ret_eq)
- p_transp_matrix_k.csv — P transport to coastal catchments (used in P_Red_k_eq)
⚠️ These are critical P routing files; location unknown. Must be found before P results can be verified.
Key confirmed facts from direct file reads (13 files):
- Seti.inc → 639,462 agricultural fields in Set i
- Set_k.inc → 110 coastal catchments (not 108 as previously stated in wiki). differentiation_effects.inc covers 108 of them (k=205 and one other without differentiated effects)
- Area.inc → area(i) in ha, 639,462 fields
- Leaching.inc → Leaching(i) in kg N/ha/yr, 2020 vintage
- Totret_2025on2018.inc → TotRet(i) in %, May 2025 vintage
- Surfret_2025on2018.inc → SurfRet(i) in %, May 2025 vintage
- new_lav_2018.inc → lav(i) fraction 0–1, May 2025 vintage
- Cost_new_avg.inc → 4D matrix Cost(o,l,h,c): oeko × lavbund × soil × crop; organic+clay=5,574 DKK/ha, conventional+sandy=357 DKK/ha
- N_targets_DEC2024.inc → N_targets(k) in tons N/yr, 107 records, many = 0; max ~2,009 (k=120)
- P_targets_Dec2024.inc → P_targets(lakecatch) in kg P/yr, ~451 records; max ~5,104 (lakecatch=456)
- Randzonep2.inc → Randzonepot(i) in ha; most = 0 (BZ eligibility)
- P_waterways.inc → wtype(i) (integer); resolves open question — wtype source confirmed
- P_loss_field.inc → P_loss_field(i) in kg P/yr; most = 0
- Total_P_loss.inc → Total_P_loss(up_lakecatch) in kg P/yr; ~448 entries
- SurfRet_ID15.inc → SurfRet_ID15(ret) in %; 3,305 entries, Sep 2023 vintage
- groups.inc → Set groups — 59 lake groups
- groups_up_lakes_final.inc → groups_up_lakes(groups, up_lakecatch) — 59 groups × connected upstream lake catchments
- extraMW_50.inc → extraMW_50(ret) in ha; 3,456 sub-catchments; most = 0
- VP2MW_per_ret.inc → VP2MW_per_ret(ret) in ha; ~220 sub-catchments with existing VP2 MWs
- Vlb_class.inc → Vlb_class(ero_stretch) integer 1–3+; 439,143 stretches
- Land_simp.inc → Land_simp(ero_stretch) land use flag; 439,143 stretches
Pages updated:
- wiki/data/inc_files_overview.md — 15+ rows updated from ⚠️/🔲 to ✅; raw file location table updated; transport CSV flagged as missing
- wiki/measures/P/PWET.md — wtype source confirmed; Total_P_loss source confirmed; open questions resolved
- wiki/lint_2026-04-05.md — 4 Priority 2 items resolved (wtype, Total_P_loss, SurfRet_ID15, 6 unconfirmed files)
Important correction:
Set_k.inc has 109 coastal catchments (not 108 or 110). One of the 109 has no agricultural fields in Setki (Countcy = 0 for all i), making it effectively inactive in the optimization. differentiation_effects.inc covers exactly the 108 active catchments. The "108 coastal catchments" convention in the wiki is correct for the optimization context; the set itself has 109 members.
[2026-04-05] corrections | Four factual fixes from user review¶
-
CSV transport files located:
p_transp_matrix_NEW.csvandp_transp_matrix_k.csvfound in temp/, copied toraw/inc files/. Matrix confirmed as sparse P transport coefficients between upstream lake catchments (values 0–1, diagonal = 1). Both marked ✅ in inc_files_overview.md. -
Set_k has 109 catchments: Corrected from 110. One catchment is in Set_k but has no agricultural fields (Countcy = 0 for all i), making it inactive. The "108 coastal catchments" convention remains correct for optimization purposes.
-
Cost_new_avg.inc
ldimension corrected: Theldimension is livestock density (hoej=high ≥0.8 DE/ha / lav=low <0.8 DE/ha), not lavbund fraction. Full corrected dimensions: o=organic, l=livestock level, h=soil type, c=crop category. -
groups_up_lakes_final.incnot used: File is in temp/ but not included in the active model. Removed from inc_files_overview.md table.
[2026-04-05] maintenance | Raw truth links added to wiki¶
Trigger: User noted that the previous differentiation_effects.inc had wrong values, highlighting the need for explicit raw file references in the wiki.
Pages updated (4):
- wiki/data/inc_files_overview.md — Added "Directly readable raw files" table at top (paths for .gms, differentiation_effects.inc, DCA PDF); added raw truth principle ("when wiki conflicts with raw file, raw file wins"); updated status column definition; added explicit path and header-date warning to differentiation_effects.inc special note
- wiki/data/DCA_diff_effekt_2025.md — Added "Raw file location" section with full path; explicit authoritative-source statement
- wiki/measures/N/LRh.md — Data sources: full path WikiTargetEcon/differentiation_effects.inc replacing bare filename
- wiki/measures/N/SA.md — Data sources: same; added header-date warning (May 2025 header ≠ content revision date)
[2026-04-05] maintenance | Cross-linking pass — internal wiki navigation expanded¶
Type: Navigation improvement — no content changes, only "Related pages" sections expanded.
Trigger: User request: "is it possible to have more links between wiki pages? So it is easier to navigate through connected topics."
Scope: 30+ pages updated.
Concept pages:
- wiki/concepts/retention.md — Related pages expanded from 3 to 17 links: full NR/SR/TR measure lists, MW special case
- wiki/concepts/P_pathways.md — Related pages expanded from 4 to 15 links: all erosion/macropore/matrix measures; stream infrastructure
- wiki/concepts/cost_concepts.md — Related pages expanded from 2 to 20+ links: all measures grouped by cost type
Model structure pages:
- wiki/model_structure/N_reduction.md — Related pages expanded to full NR/SR/TR measure lists; open questions 1 and 3 resolved
- wiki/model_structure/P_reduction.md — Related pages expanded to 14 links; open question 4 resolved (Total_P_loss confirmed)
- wiki/model_structure/objective_and_costs.md — Related pages expanded to full measure list; open questions 1 and 2 resolved (wtype, Adj_Ann_Jordv)
N measure pages (all updated): - BZ10, BZ20 — added P_pathways, N_reduction, P_reduction, cost_concepts - CCS, CCW — added related pages sections (were missing) - EC — added FO link + retention + cost_concepts - EW, IC — added related pages sections (were missing) - FO — expanded: SA, EC, P_pathways, cost_concepts, tripartite, DCA data page - LRh — expanded: SA, retention, P_pathways, cost_concepts, DCA data, tripartite - LRl — expanded: retention, P_pathways, cost_concepts, tripartite - N10, N20 — added retention, cost_concepts, N_reduction - SA — added LRh, DCA data page, retention, cost_concepts, tripartite - WL — added PWET, retention, cost_concepts, N_reduction, tripartite
P measure pages: - PWET — added IBZ, P_pathways, stream measures, cost_concepts - IBZ — added PWET, P_pathways, cost_concepts - NPB10, NPB20 — added P_reduction, cost_concepts - PPC — added P_reduction, cost_concepts - OT — added combined, P_reduction, cost_concepts
Infrastructure: - MW — expanded from 3 to 9 links: WL, PWET, IBZ, retention, P_pathways, N_reduction, P_reduction, constraints, tripartite
Policy context: - tripartite_agreement.md — added LRh, MW, WFD links; completed measure list in Related pages
[2026-04-05] update | differentiation_effects.inc — September 2025 revision applied¶
Type: Data file update + wiki pass.
Trigger: User updated differentiation_effects.inc to align with Rolighed et al. 2025 September revision.
Changes in the updated file (confirmed by direct read): - LRH block: Expanded from 13 catchments (217–238, corrections 7–15) to 108 catchments (corrections 6–18). The 13 original Limfjorden catchment values are unchanged. - SA block: Expanded from ~97 catchments to 108 catchments. Correction range (6–27) and outlier catchments (57, 139 at −27) are unchanged. - Both blocks now cover the complete national set of 108 coastal catchments (kystvanddeloplande).
Pages updated (6):
- wiki/measures/N/LRh.md — N Effect section rewritten: 108 catchments, corrections 6–18, new summary table; original 13-catchment values preserved in sub-table; open question added about PotV eligibility expansion; catalog source updated to Rolighed 2025
- wiki/measures/N/SA.md — Coverage updated: "~97 catchments" → 108; range and outliers unchanged; last_updated bumped
- wiki/data/inc_files_overview.md — inline table entry updated; special note section updated: VP4 calibration resolved ✅; change summary (LRH 13→108, SA 97→108)
- wiki/data/DCA_diff_effekt_2025.md — "Relationship to differentiation_effects.inc" section: resolved pre-delivery open question; updated with change summary
- wiki/lint_2026-04-05.md — resolved two Priority 2 items (science basis ✅, 13-catchment geography ✅); added new open question (LRh PotV eligibility)
- wiki/index.md — P measures table names corrected; SA/LRh Danish names added; new data page entry added; page count updated
New open question raised:
PotV(i,"LRh") has no explicit catchment filter in its documented formula. Does expanding NEffM to 108 catchments implicitly expand LRh eligibility nationally? Needs verification in main .gms. Logged in lint report.
[2026-04-08] ingest | P Project 2025 Scenario 1 results¶
Type: Project results ingest.
Sources read:
- raw/Projects/P Project 2025/Scenario 1/TargetEcon_Scenario_Comparison_v4.xlsx
- 9 result workbooks for N Only, N+P, and P Only under Old Retention, New Retention, and New Retention + Differentiation
- 23 PNG figures in the same scenario folder
Pages created:
- wiki/projects/index.md
- wiki/projects/P_Project_2025/index.md
- wiki/projects/P_Project_2025/Scenario_1.md
Pages updated:
- wiki/index.md
What was documented:
1. New Projects section added to the wiki structure.
2. P Project 2025 registered as the first ingested project.
3. Scenario 1 summarized with national totals, cost-by-group structure, top-cost measures, raw workbook links, and representative figures.
4. Project artifacts under raw/Projects/ made publishable in the docs build, while oversized raw/inc files/ remain excluded from the public site.
[2026-04-08] lint | Wiki health check after project-ingest rollout¶
Type: Health check / maintenance pass.
Checks run:
- Local docs build (prepare_docs.py + mkdocs build)
- Nav integration for new projects section
- Internal structure review for scenarios vs projects
- Residual warning cleanup
Pages created:
- wiki/lint_2026-04-08.md
Pages updated:
- wiki/scenarios/index.md
- wiki/projects/P_Project_2025/index.md
- wiki/index.md
Findings summary: 1. Wiki build is healthy and publishable. 2. Project-result workflow is now integrated and documented. 3. Generic scenario pages remain planning stubs and are the main content gap. 4. Known un-ingested data-source references remain documented debt, not a new regression.
[2026-04-08] refine | P Project 2025 usability pass¶
Type: Project-page UX refinement.
Pages updated:
- wiki/projects/P_Project_2025/index.md
- wiki/projects/P_Project_2025/Scenario_1.md
- mkdocs.yml
- wiki/assets/stylesheets/extra.css
What changed: 1. Added clearer workbook download panels for the project and scenario pages. 2. Converted key figures into clickable preview cards that open full-size images. 3. Added an "Additional figures available" inventory so all published graphics are discoverable. 4. Removed the private GitHub repo header integration that caused browser 403 errors on the public docs site.
Verification: - Local docs build succeeded. - Project scenario page loaded with zero browser console errors. - Workbook URLs returned HTTP 200. - Clicking a figure opened the full-size PNG successfully.
[2026-04-08] refine | P Project 2025 spatial summaries¶
Type: Project-page analytical refinement.
Pages updated:
- wiki/projects/P_Project_2025/Scenario_1.md
What changed:
1. Added coastal hotspot summaries from sheet 4. Coastal Catchments.
2. Added lake hotspot summaries from sheet 6. Lake - Area by Measure.
3. Added four additional spatial diagnostic figure previews with click-through to full-size images.
Main added value: - The page now explains where the retention and differentiation updates matter spatially, not just nationally.
[2026-04-08] draft | Results output standard¶
Type: Inactive planning draft.
File added:
- drafts/results_output_standard_draft.md
What changed: 1. Wrote a non-binding draft specification for future project and scenario result packages. 2. Kept it outside the published wiki so it remains inactive until the reporting format is ready to standardize.
Reason for doing it now: - The reusable project-results template should be built on a stable results-output contract, not on the current ad hoc export structure.