Radio-Spectrum / SHARC

Simulator for use in sharing and compatibility studies of wireless communication systems
Other
1 stars 16 forks source link

Improvement: propagation refactoring #12

Closed brunohcfaria closed 4 weeks ago

brunohcfaria commented 4 months ago

That PR cleans the way the Simulation object calculates the coupling_loss. Previously it has a poor design with multiple if-elses for each StationType. Now the calculation of the coupling loss is divided between intra-imt coupling loss and system-imt coupling loss. The refactoring removed the dependence of adding new code to the coupling loss calculation if someone creates a new system.

brunohcfaria commented 1 month ago

Requiring review from @rdvieira or @araujoUnb