capri-architecture

Explain the CAPRI agricultural model's module pipeline and GDX data flow.

16|1|Updated Jun 20, 2023
One-click install
npx skills add https://github.com/chrispahm/gams-ide --skill capri-architecture
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: capri-architecture
Source: https://github.com/chrispahm/gams-ide/tree/main/skills/capri-architecture
Command: npx skills add https://github.com/chrispahm/gams-ide --skill capri-architecture

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps users understand the complex architecture, module relationships, and data flow within the CAPRI agricultural model, making it easier to navigate, debug, or extend.

Core Features & Use Cases

  • Module Overview: Provides a clear pipeline of CAPRI's core modules (COCO, CAPREG, CAPTRD, CAPMOD, CAPDIS).
  • Data Flow Mapping: Details the GDX files used for data exchange between modules.
  • Directory Structure: Explains the conventions used in the GAMS project directory.
  • Use Case: A new researcher needs to understand how national supply balances are transformed into regional activity levels and then fed into the market model. This Skill provides the exact map and file names to follow.

Quick Start

Explain the data flow from the COCO module to the CAPTRD module, listing the key GDX files involved.

Frequently Asked Questions about capri-architecture

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How does data flow between modules in the CAPRI agricultural model?

The CAPRI agricultural model processes scenario simulations through an iterative solving mechanism across core modules like COCO, CAPREG, CAPTRD, CAPMOD, and CAPDIS. Data handoffs between these modules occur via specific GDX files.

How do I debug the GAMS project directory structure for CAPRI?

Debugging the CAPRI GAMS project directory requires understanding its specific directory conventions and module interfaces. Mapping these data handoffs helps locate where national supply balances transform into regional activity levels.

What is the process to trace data from the COCO module to CAPTRD in CAPRI?

Tracing data from COCO to CAPTRD involves following the module pipeline and identifying the key GDX files used for data exchange. This map shows exactly how national supply balances are transformed into regional activity levels.

Do I need to understand GAMS to use the CAPRI model architecture guide?

Yes, understanding GAMS is necessary because the guide details GAMS project directory conventions and GDX files. This knowledge is required to navigate the iterative solving mechanisms and data handoffs for scenario simulation.

Why does my CAPRI scenario simulation fail during module data handoffs?

Scenario simulations fail during data handoffs when module interfaces are misaligned or the wrong GDX files are referenced. Understanding the directory conventions and the exact module pipeline helps identify and fix these data exchange breakpoints.