I. Introduction
This paper deals with the day-ahead energy management of a local energy community (LEC) in which direct energy transactions between the participants are allowed in addition to the transactions with the external energy provider. The regulatory challenges and opportunities for such entities are analyzed in e.g., [1], which also refers to the recent legal framework called “Clean Energy for all Europeans” approved by the European Union.