// Conteúdo canónico do projeto RESILIENCE.
// Fonte de verdade: input_files/Notas Site.docx + cronograma.png
// Ver specs/03-content.md. NÃO inventar conteúdo.

export const project = {
  acronym: "RESILIENCE",
  title:
    "Residential Energy-Efficiency Strategies Incorporating Lifecycle Sustainability and Circular Economy",
  tagline:
    "A comprehensive, integrated framework to assess residential energy efficiency across its full lifecycle and circular economy.",
  dates: {
    start: "28-07-2025",
    end: "26-07-2028",
  },
  projectCode: "2023.17768.ICDT | COMPETE2030-FEDER-00888800; operação n.º 15224",
  doi: "https://doi.org/10.54499/2023.17768.ICDT",
  funding: {
    totalEligibleCost: "215.308,80 €",
    euSupport: "183.012,48 €",
    nationalSupport: "32.296,32 €",
  },
  team: [
    "Álvaro Gomes",
    "Carla Henriques",
    "Eugénio Rodrigues",
    "Marco Fernandes",
    "Patrícia P. Silva",
    "Adélio Gaspar",
    "Humberto Jorge",
    "Marcos Tenente",
    "Sona Mammadzada",
    "Luís Ventura",
  ],
} as const

export const goal = {
  text: `This project aims to bridge existing gaps in energy efficiency assessment methodologies by adopting a comprehensive and integrated approach that expands the assessment to other lifecycle phases of EE technologies, incorporates circular economy principles, and provides decision-makers with the tools they need to select the portfolios of measures that will be targeted by the EE programs.`,
  contributions: [
    {
      title: "Multiple Benefits of EE",
      description:
        "Captures the wider environmental, economic and social value of energy efficiency beyond energy savings.",
      icon: "Layers",
    },
    {
      title: "Hybrid Lifecycle Analysis",
      description:
        "Full impact coverage by combining process-based and input-output lifecycle assessment.",
      icon: "Recycle",
    },
    {
      title: "Circular Resource Assessment",
      description:
        "Embeds circular economy principles into the evaluation of efficiency measures.",
      icon: "RefreshCw",
    },
    {
      title: "Portfolio Optimization",
      description:
        "Optimizes EE investment strategies to select the best portfolios of measures.",
      icon: "TrendingUp",
    },
    {
      title: "Decision-makers' Preferences",
      description:
        "Integrates stakeholder preferences to support real-world policy decisions.",
      icon: "Users",
    },
  ],
} as const

// ── Work plan ───────────────────────────────────────────────────────────────
// Janela temporal: 36 meses, mês 1 = ago/2025 → mês 36 = jul/2028.
// startMonth/endMonth aproximados de cronograma.png (specs/03-content.md).
export type Task = {
  id: string
  title: string
  startMonth: number
  endMonth: number
  description?: string
}

export const tasks: Task[] = [
  {
    id: "T1",
    title: "Review of EE technologies and policies",
    startMonth: 1,
    endMonth: 5,
  },
  {
    id: "T2",
    title: "Review of indicators",
    startMonth: 1,
    endMonth: 6,
  },
  {
    id: "T3",
    title: "Selection of indicators",
    startMonth: 5,
    endMonth: 9,
  },
  {
    id: "T4",
    title: "Energy performance simulation",
    startMonth: 6,
    endMonth: 17,
  },
  {
    id: "T5",
    title: "Hybrid lifecycle analysis",
    startMonth: 13,
    endMonth: 24,
  },
  {
    id: "T6",
    title: "Model for designing energy efficiency funding policies",
    startMonth: 22,
    endMonth: 31,
  },
  {
    id: "T7",
    title: "Sustainability benchmark certificate",
    startMonth: 31,
    endMonth: 36,
  },
]

export type Milestone = { id: string; month: number }
// Posições aproximadas (refinar contra cronograma.png).
export const milestones: Milestone[] = [
  { id: "M1", month: 3 },
  { id: "M2", month: 4 },
  { id: "M3", month: 7 },
  { id: "M4", month: 9 },
  { id: "M5", month: 10 },
  { id: "M6", month: 16 },
  { id: "M7", month: 25 },
  { id: "M8", month: 33 },
  { id: "M9", month: 34 },
  { id: "M10", month: 35 },
]

export type Report = { label: string; month: number }
export const reports: Report[] = [
  { label: "1st Progress Report", month: 12 },
  { label: "2nd Progress Report", month: 24 },
  { label: "Final Report", month: 36 },
]

export const timeline = {
  totalMonths: 36,
  startYear: 2025,
  startMonthOfYear: 8 as number, // agosto
} as const

// ── Indicators ────────────────────────────────────────────────────────────
export type IndicatorType = "journal" | "conference" | "msc" | "phd"

export type Indicator = {
  id: string
  type: IndicatorType
  title: string
  meta?: string
  authors?: string
  venue?: string
  year?: string
  url?: string
}

export const indicators: Indicator[] = [
  {
    id: "j1",
    type: "journal",
    title:
      "Integrating multiple impacts and lifecycle assessment in the evaluation of energy efficiency funding programs",
    authors: "Tenente, M., Carvalho, T., Gomes, Á. et al.",
    venue: "Energy Efficiency 18, 96",
    year: "2025",
    url: "https://doi.org/10.1007/s12053-025-10375-5",
  },
  {
    id: "c1",
    type: "conference",
    title:
      "A Critical Review of Policy and Multi-Criteria Indicators for Scaling Residential Building Resilience in Portugal's EPBD Implementation",
    venue: "ECEEE Summer Study",
    year: "2026",
  },
  {
    id: "c2",
    type: "conference",
    title:
      "Optimization of Energy Efficiency Renovations in Buildings: Unlocking Multiple Benefits Across Environmental, Economic, and Social Dimensions",
    venue: "ECEEE Summer Study",
    year: "2026",
  },
  {
    id: "m1",
    type: "msc",
    title:
      "Cidades Inteligentes, Sustentáveis e Resilientes: Papel das CER — Proposta de uma Taxonomia",
  },
  {
    id: "m2",
    type: "msc",
    title:
      "Disseminação de renováveis variáveis e da eletrificação numa rede de distribuição — análise simulada de impactos e o papel da demand response",
  },
  {
    id: "m3",
    type: "msc",
    title:
      "Reservas Estratégicas de Energia Elétrica em Portugal — Estimativa considerando a Incerteza e a Gestão da Procura",
  },
]

// ── Partners (beneficiaries) ────────────────────────────────────────────────
export type Partner = { name: string; short: string; image: string; description: string }

export const partners: Partner[] = [
  {
    name: "INESC Coimbra",
    short: "INESCC",
    image: "/inescc.png",
    description:
      "Instituto de Engenharia de Sistemas e Computadores de Coimbra",
  },
  {
    name: "ADAI",
    short: "ADAI",
    image: "/adai.png",
    description: "Associação para o Desenvolvimento da Aerodinâmica Industrial",
  },
  {
    name: "IPC – ISCAC",
    short: "ISCAC",
    image: "/iscac.png",
    description: "Instituto Politécnico de Coimbra – ISCAC",
  },
]

export const funders = [
  {
    name: "Portugal 2030",
    image: "/Portugal2030.png",
  },
  {
    name: "FCT",
    image: "/FCT.png",
  },
  {
    name: "União Europeia",
    image: "/UE.png",
  },
]
