<?xml version="1.0" encoding="UTF-8"?>
<article article-type="research-article" dtd-version="1.3" xml:lang="ru" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://metafora.rcsi.science/xsd_files/journal3.xsd">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">moitvivt</journal-id>
      <journal-title-group>
        <journal-title xml:lang="ru">Моделирование, оптимизация и информационные технологии</journal-title>
        <trans-title-group xml:lang="en">
          <trans-title>Modeling, Optimization and Information Technology</trans-title>
        </trans-title-group>
      </journal-title-group>
      <issn pub-type="epub">2310-6018</issn>
      <publisher>
        <publisher-name>Издательство</publisher-name>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.26102/2310-6018/2025.50.3.019</article-id>
      <article-id pub-id-type="custom" custom-type="elpub">1891</article-id>
      <title-group>
        <article-title xml:lang="ru">Практическая реализация программной автоматизации построения кривой BP и ее компонентов для анализа платежного баланса России</article-title>
        <trans-title-group xml:lang="en">
          <trans-title>Practical implementation of software automation of the BP curve and its components for the analysis of the balance of payments of Russia</trans-title>
        </trans-title-group>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <contrib-id contrib-id-type="orcid">0000-0001-8794-3973</contrib-id>
          <name-alternatives>
            <name name-style="eastern" xml:lang="ru">
              <surname>Щеголев</surname>
              <given-names>Алексей Владимирович</given-names>
            </name>
            <name name-style="western" xml:lang="en">
              <surname>Shchegolev</surname>
              <given-names>Aleksey Vladimirovich</given-names>
            </name>
          </name-alternatives>
          <email>shegolev@spbu.su</email>
          <xref ref-type="aff">aff-1</xref>
        </contrib>
      </contrib-group>
      <aff-alternatives id="aff-1">
        <aff xml:lang="ru">АО «НПЦ АСПЕКТ»</aff>
        <aff xml:lang="en">JSC "RPC ASPECT"</aff>
      </aff-alternatives>
      <pub-date pub-type="epub">
        <day>01</day>
        <month>01</month>
        <year>2026</year>
      </pub-date>
      <volume>1</volume>
      <issue>1</issue>
      <elocation-id>10.26102/2310-6018/2025.50.3.019</elocation-id>
      <permissions>
        <copyright-statement>Copyright © Авторы, 2026</copyright-statement>
        <copyright-year>2026</copyright-year>
        <license license-type="creative-commons-attribution" xlink:href="https://creativecommons.org/licenses/by/4.0/">
          <license-p>This work is licensed under a Creative Commons Attribution 4.0 International License</license-p>
        </license>
      </permissions>
      <self-uri xlink:href="https://moitvivt.ru/ru/journal/article?id=1891"/>
      <abstract xml:lang="ru">
        <p>В данной статье представлена практическая реализация кривой платежного баланса (BP) с использованием языка программирования Python. В связи с этим данная статья направлена на моделирование взаимосвязи между процентной ставкой, валютным курсом и состоянием внешнеэкономического равновесия в рамках модифицированной модели IS-LM-BP. Применение численных методов и алгоритмов машинного обучения позволяет проанализировать динамику макроэкономических показателей и оценить влияние внешнеэкономических факторов на платежный баланс страны. В исследовании используются реальные статистические данные, что обеспечивает практическую применимость полученных результатов. Ведущим подходом к исследованию является разработка программного кода для численного решения системы уравнений, калибровку модели на основе эмпирических данных и построение прогнозов на различных временных горизонтах. Материалы статьи представляют практическую значимость для использования современных инструментов вычислительной экономики для анализа и моделирования макроэкономического равновесия, а также их потенциал в разработке мер экономической политики. Данная модель полезна для стратегического анализа, так как позволяет оценивать влияние изменения процентных ставок и валютного курса на макроэкономическое равновесие. Разработанная методология позволяет не только построить BP-кривую на основе реальных данных, но и использовать ее для прогнозирования будущих экономических состояний, что делает данный подход полезным для макроэкономического анализа и стратегического планирования.</p>
      </abstract>
      <trans-abstract xml:lang="en">
        <p>This article presents a practical implementation of the balance of payments (BP) curve using the Python programming language. In this regard, this article is aimed at modeling the relationship between the interest rate, the exchange rate and the state of external economic equilibrium within the framework of the modified IS-LM-BP model. The use of numerical methods and machine learning algorithms makes it possible to analyze the dynamics of macroeconomic indicators and assess the impact of external economic factors on the country's balance of payments. The study uses real statistical data, which ensures the practical applicability of the results obtained. The leading approach to the research is the development of software code for the numerical solution of a system of equations, calibration of the model based on empirical data and the construction of forecasts on various time horizons. The materials of the article are of practical importance for using modern computational economics tools for analyzing and modeling macroeconomic equilibrium, as well as their potential in developing economic policy measures. This model is useful for strategic analysis, as it allows us to assess the impact of changes in interest rates and the exchange rate on macroeconomic equilibrium. The developed methodology allows not only to build a BP curve based on real data, but also to use it to predict future economic conditions, which makes this approach useful for macroeconomic analysis and strategic planning.</p>
      </trans-abstract>
      <kwd-group xml:lang="ru">
        <kwd>платежный баланс</kwd>
        <kwd>кривая BP</kwd>
        <kwd>IS-LM-BP модель</kwd>
        <kwd>численное моделирование</kwd>
        <kwd>макроэкономическое равновесие</kwd>
        <kwd>корреляционно-регрессионный анализ</kwd>
        <kwd>Python</kwd>
      </kwd-group>
      <kwd-group xml:lang="en">
        <kwd>balance of payments</kwd>
        <kwd>BP curve</kwd>
        <kwd>IS-LM-BP model</kwd>
        <kwd>numerical modeling</kwd>
        <kwd>macroeconomic equilibrium</kwd>
        <kwd>correlation-regression analysis</kwd>
        <kwd>Python</kwd>
      </kwd-group>
      <funding-group>
        <funding-statement xml:lang="ru">Исследование выполнено без спонсорской поддержки.</funding-statement>
        <funding-statement xml:lang="en">The study was performed without external funding.</funding-statement>
      </funding-group>
    </article-meta>
  </front>
  <back>
    <ref-list>
      <title>References</title>
      <ref id="cit1">
        <label>1</label>
        <mixed-citation xml:lang="ru">Blanchard O.J., Johnson D.R. Macroeconomics. Pearson; 2013. 624 p.</mixed-citation>
      </ref>
      <ref id="cit2">
        <label>2</label>
        <mixed-citation xml:lang="ru">Dornbusch R., Fischer S., Startz R. Macroeconomics. McGraw-Hill Higher Education; 2011. 652 p.</mixed-citation>
      </ref>
      <ref id="cit3">
        <label>3</label>
        <mixed-citation xml:lang="ru">Romer D. Advanced Macroeconomics. McGraw-Hill; 2018. 800 p.</mixed-citation>
      </ref>
      <ref id="cit4">
        <label>4</label>
        <mixed-citation xml:lang="ru">Mundell R.A. Capital Mobility and Stabilization Policy Under Fixed and Flexible Exchange Rates. Canadian Journal of Economics and Political Science. 1963;29(4):475–485. https://doi.org/10.2307/139336</mixed-citation>
      </ref>
      <ref id="cit5">
        <label>5</label>
        <mixed-citation xml:lang="ru">Fleming J.M. Domestic Financial Policies Under Fixed and Under Floating Exchange Rates. IMF Economic Review. 1962;9:369–380. https://doi.org/10.2307/3866091</mixed-citation>
      </ref>
      <ref id="cit6">
        <label>6</label>
        <mixed-citation xml:lang="ru">Obstfeld M., Rogoff K. Foundations of International Macroeconomics. Cambridge: MIT Press; 1996. 804 p.</mixed-citation>
      </ref>
      <ref id="cit7">
        <label>7</label>
        <mixed-citation xml:lang="ru">Gandolfo G. International Finance and Open-Economy Macroeconomics. Berlin, Heidelberg: Springer; 2016. 681 p. https://doi.org/10.1007/978-3-662-49862-0</mixed-citation>
      </ref>
      <ref id="cit8">
        <label>8</label>
        <mixed-citation xml:lang="ru">Mankiw N.G. Macroeconomics. Worth Publishers; 2019. 719 p.</mixed-citation>
      </ref>
      <ref id="cit9">
        <label>9</label>
        <mixed-citation xml:lang="ru">Ефремов Д.Н. Экономическая сущность и содержание денежного хозяйства Российской Федерации. Образование. Наука. Научные кадры. 2025;(1):210–214. https://doi.org/10.24412/2073-3305-2025-1-210-214</mixed-citation>
      </ref>
      <ref id="cit10">
        <label>10</label>
        <mixed-citation xml:lang="ru">Глебова А.Г., Табачинский Г.И. Эволюция международных санкций и их последствия для Российской Федерации в контексте международных экономических отношений. Мировая экономика и мировые финансы. 2025;4(1):31–39.</mixed-citation>
      </ref>
    </ref-list>
    <fn-group>
      <fn fn-type="conflict">
        <p>The authors declare that there are no conflicts of interest present.</p>
      </fn>
    </fn-group>
  </back>
</article>