Lorem ipsum color sit amet, consectetur adipiscing elite. Suspended Varius Enim in Eros Elementum Tristique. Duis cursus, mi quis viverra ornare, Eros Dolor Interdum Nulla, ut commodo diam libre vitae erat. Aenean faucibus nibh et usto cursus di rutrum lorem imperdit. Never ut without vitae risus tristique possesses.
Lorem ipsum color sit amet, consectetur adipiscing elite. Suspended Varius Enim in Eros Elementum Tristique. Duis cursus, mi quis viverra ornare, Eros Dolor Interdum Nulla, ut commodo diam libre vitae erat. Aenean faucibus nibh et usto cursus di rutrum lorem imperdit. Never ut without vitae risus tristique possesses.
Lorem ipsum color sit amet, consectetur adipiscing elite. Suspended Varius Enim in Eros Elementum Tristique. Duis cursus, mi quis viverra ornare, Eros Dolor Interdum Nulla, ut commodo diam libre vitae erat. Aenean faucibus nibh et usto cursus di rutrum lorem imperdit. Never ut without vitae risus tristique possesses.

Comgas transformed the management of gas contracts with intelligent models that optimize costs, risks and strategic decisions.

The opening of the New Gas Market in Brazil marked a turning point for the entire energy industry. The emergence of new suppliers, more flexible contractual modalities and multiple pricing schemes created a highly competitive environment, but also much more complex from a planning point of view. For Comgas, this new scenario involved going from analyzing two or three supply contracts to evaluating more than twenty simultaneous proposals, each with different combinations of prices, volumes, deadlines and logistics conditions.
Until then, contract analysis was mostly carried out using spreadsheets and manual evaluations, which limited the ability to compare scenarios, quantify risks and anticipate economic impacts. The lack of an integrated model made it difficult to answer key questions: what combination of contracts minimizes total cost, how demand deviations affect penalties, and what level of risk the company assumes in different macroeconomic contexts.
Faced with this challenge, Comgas defined a clear objective: to professionalize and systematize decision-making related to the purchase of natural gas. It wasn't just about choosing cheaper contracts, but about building a robust supply strategy, capable of integrating demand projections, macroeconomic scenarios and regulatory rules into a single analytical process.
The company needed a flexible solution that would allow simulating short and medium-term scenarios, evaluating risks associated with volume deviations, and quickly adapting analyses to regulatory or market changes. The integration between tactical planning and operational decisions became critical to ensure coherence between strategy, signed contracts and actual operation.
With Pyplan, Comgas implemented a unified planning model and portfolio optimization of gas contracts. The platform made it possible to load all the contractual variables — prices, volumes, penalties, deadlines and modalities — and combine them with demand projections in different scenarios. Based on this model, optimization algorithms automatically identify the combination of contracts that minimizes the total cost and associated risk.
The solution incorporated advanced simulation capabilities, allowing analysts to adjust macroeconomic or consumption variables and obtain results in seconds. Pyplan's analytical intelligence and AI agents facilitated prescriptive analysis, explaining impacts and recommending optimal alternatives. This allowed us to move from a reactive approach, based on manual comparisons, to predictive and prescriptive planning, aligned with the dynamics of the new market.
The result was more agile, transparent and quantitative decision-making. Not only did Comgas manage to reduce costs and penalties, but it also incorporated a reusable strategic tool for future negotiations, strengthening its ability to adapt in an increasingly competitive energy market.
Learn how Pyplan can help you transform complex decisions into intelligent, actionable plans.
Learn about our solutions or talk to an expert:
👉 https://pyplan.com/es/entre-en-contacto/

Control, traceability and consistency in each Bajada number

How Pyplan's influence diagrams transform complex rules into clear decisions

Quality, structure and scalability from the first model