Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 2.08 KB

File metadata and controls

43 lines (29 loc) · 2.08 KB

CSTapi-MATLAB-Python

This repository contains MATLAB and Python scripts for the simulation and design of pixelated metasurfaces, patch antennas, and unit cells. The scripts reference established research papers (linked within the scripts) for accurate modeling and simulation.

Screenshot 2025-01-22 192845 Screenshot 2025-01-20 103217

Contents

MATLAB Scripts

  • Implementations for designing and simulating:
    • Unit cells
    • Patch antennas
    • Metasurfaces using periodic boundary conditions, PCR(R), and S-parameter calculations
  • CST-MATLAB interface without the need for VBA scripts
  • Floquet functions and mixed template results

function resultCalculation(Frequency, MAG_A, MAG_B) % Calculate expression and invert it result = (MAG_A .* MAG_A) ./ ((MAG_A .* MAG_A) + (MAG_B .* MAG_B)); inverted_result = 1 - result; % Invert the result

Screenshot 2025-01-22 201154

Screenshot 2025-01-21 173523

Screenshot 2025-01-20 113209

Python Scripts

  • Python-based API to automate simulation workflows and data extraction
  • Key functionalities:
    • Execute CST simulations directly from Python
    • Export data for mixed template results

Simulation Results

  • A collection of simulation results for verification and validation of the scripts’ performance and accuracy

Screenshot 2025-02-05 170449 Screenshot 2025-02-05 164748 Screenshot 2025-02-05 164458