Seven Editora
##common.pageHeaderLogo.altText##
##common.pageHeaderLogo.altText##


Contact

  • Seven Publicações Ltda CNPJ: 43.789.355/0001-14 Rua: Travessa Aristides Moleta, 290- São José dos Pinhais/PR CEP: 83045-090
  • Principal Contact
  • Nathan Albano Valente
  • (41) 9 8836-2677
  • editora@sevenevents.com.br
  • Support Contact
  • contato@sevenevents.com.br

A Python code for adjusting periodic soil temperature data

Soares GA;
Domingues AMB;
Ramalho JVA;
Fernando HJ

Geilson de Almeida Soares

Ana Maria Bersch Domingues

Jairo Valões de Alencar Ramalho

Honório Joaquim Fernando


Keywords

Adjustment of Trigonometric Functions
Least Squares
Ground-to-Air Heat Exchangers
Python

Abstract

This work aims to present a code in Python language for adjusting periodic curves from soil temperature simulation data. We present a methodology to obtain a sinusoidal function using the least squares method that represents the soil temperature of a given locality. The code also uses Newton's method to solve the resulting nonlinear system of equations. Soil temperature simulation data were used in a city in the state of Rio Grande do Sul, Brazil. The results of these curves can help in the study and definition of boundary conditions of new computational models of ground-to-air heat exchangers (TCSA). It is observed that the least squares method is not new , but there is a gap in the literature regarding the presentation of codes for the adjustment of trigonometric functions as presented here.

 

DOI:https://doi.org/10.56238/sevened2024.003-046


Creative Commons License

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

Copyright (c) 2024 Geilson de Almeida Soares, Ana Maria Bersch Domingues, Jairo Valões de Alencar Ramalho, Honório Joaquim Fernando

Author(s)

  • Geilson de Almeida Soares
  • Ana Maria Bersch Domingues
  • Jairo Valões de Alencar Ramalho
  • Honório Joaquim Fernando